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

 Methods

create()

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
Static

Parameters

$id

$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. Foursquare identifier of the venue if known.

$foursquareId : string | null

Default

 

Optional. Foursquare type of the venue, if known.

$foursquareType : string | null

Default

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

 

Optional. Google Places identifier of the venue.

$googlePlaceId : string | null

Default

see
 

Optional. Google Places type of the venue.

$googlePlaceType : string | null

Default

see
 

Optional. Content of the message to be sent instead of the venue.

$inputMessageContent : \TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType | null

Default

 

Latitude of the venue location in degrees.

$latitude : float

Default

 

Longitude of the venue location in degrees.

$longitude : float

Default

 

Optional. Thumbnail height.

$thumbHeight : integer | null

Default

 

Optional. Url of the thumbnail for the result.

$thumbUrl : string | null

Default

 

Optional. Thumbnail width.

$thumbWidth : integer | null

Default

 

Title of the venue.

$title : string

Default