Class InputVenueMessageContent.

see
package Default
inherited_from \TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType

 Methods

create()

create(\TgBotApi\BotApiBase\Type\InputMessageContent\float $latitude, \TgBotApi\BotApiBase\Type\InputMessageContent\float $longitude, \TgBotApi\BotApiBase\Type\InputMessageContent\string $title, \TgBotApi\BotApiBase\Type\InputMessageContent\string $address, array $data = null
Static

Parameters

$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
 

Latitude of the venue in degrees.

$latitude : float

Default

 

Longitude of the venue in degrees.

$longitude : float

Default

 

Name of the venue.

$title : string

Default