Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/BotApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand All @@ -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(),
Expand Down