Class SendVenueMethod.

see
package Default

 Methods

create()

create(integer|string $chatId, \TgBotApi\BotApiBase\Method\float $latitude, \TgBotApi\BotApiBase\Method\float $longitude, \TgBotApi\BotApiBase\Method\string $title, \TgBotApi\BotApiBase\Method\string $address, array $data = null
Static

Parameters

$chatId

integerstring

$latitude

$longitude

$title

$address

$data

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

fill()

fill(array $data, array $forbidden = array()
Inherited

Parameters

$data

array

$forbidden

array

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

 Properties

 

Address of the venue.

$address : string

Default

 

Optional. Pass True, if the message should be sent even if the specified replied-to message is not found.

$allowSendingWithoutReply : boolean | null

Default

 

Optional. Sends the message silently. Users will receive a notification with no sound.

$disableNotification : boolean | null

Default

 

Optional. Foursquare identifier of the venue.

$foursquareId : string | null

Default

see
 

Optional. Foursquare type of the venue, if known.

$foursquareType : string | null

Default

(For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).

see
 

Latitude of the venue.

$latitude : float

Default

 

Longitude of the venue.

$longitude : float

Default

 

Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.

$replyMarkup : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardRemoveType | \TgBotApi\BotApiBase\Type\ForceReplyType | null

Default

 

Optional. If the message is a reply, ID of the original message.

$replyToMessageId : integer | null

Default

 

Name of the venue.

$title : string

Default