diff --git a/src/BotApi.php b/src/BotApi.php index 1e2c3237..035a81b5 100644 --- a/src/BotApi.php +++ b/src/BotApi.php @@ -782,6 +782,8 @@ public function stopMessageLiveLocation( * @param int|null $messageThreadId * @param bool|null $protectContent * @param bool|null $allowSendingWithoutReply + * @param string|null $googlePlaceId + * @param string|null $googlePlaceType * * @return Message * @throws Exception @@ -798,7 +800,9 @@ public function sendVenue( $disableNotification = false, $messageThreadId = null, $protectContent = null, - $allowSendingWithoutReply = null + $allowSendingWithoutReply = null, + $googlePlaceId = null, + $googlePlaceType = null ) { return Message::fromResponse($this->call('sendVenue', [ 'chat_id' => $chatId, @@ -807,6 +811,8 @@ public function sendVenue( 'title' => $title, 'address' => $address, 'foursquare_id' => $foursquareId, + 'google_place_id' => $googlePlaceId, + 'google_place_type' => $googlePlaceType, 'message_thread_id' => $messageThreadId, 'reply_to_message_id' => $replyToMessageId, 'reply_markup' => is_null($replyMarkup) ? $replyMarkup : $replyMarkup->toJson(),