Class SendVenueMethod.
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
integer
string
$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
Optional. Pass True, if the message should be sent even if the specified replied-to message is not found.
$allowSendingWithoutReply : boolean | null
Optional. Sends the message silently. Users will receive a notification with no sound.
$disableNotification : boolean | null
Optional. Foursquare identifier of the venue.
$foursquareId : string | null
Optional. Foursquare type of the venue, if known.
$foursquareType : string | null
(For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).
Latitude of the venue.
$latitude : float
Longitude of the venue.
$longitude : float
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
Optional. If the message is a reply, ID of the original message.
$replyToMessageId : integer | null
Name of the venue.
$title : string