Class InlineQueryResultVenueType.
Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.
see | |
---|---|
package | Default |
create(\TgBotApi\BotApiBase\Type\InlineQueryResult\string $id, \TgBotApi\BotApiBase\Type\InlineQueryResult\float $latitude, \TgBotApi\BotApiBase\Type\InlineQueryResult\float $longitude, \TgBotApi\BotApiBase\Type\InlineQueryResult\string $title, \TgBotApi\BotApiBase\Type\InlineQueryResult\string $address, array $data = null
)
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
fill(array $data, array $forbidden = array()
)
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
$address : string
$foursquareId : string | null
$foursquareType : string | null
(For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).
$inputMessageContent : \TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType | null
$latitude : float
$longitude : float
$thumbHeight : integer | null
$thumbUrl : string | null
$thumbWidth : integer | null
$title : string