Class InlineQueryResultLocationType.
Represents a location on a map. By default, the location will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the location.
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, array $data = null
)
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
fill(array $data, array $forbidden = array()
)
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
$heading : integer | null
Must be between 1 and 360 if specified.
$horizontalAccuracy : float | integer | null
$inputMessageContent : \TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType | null
$latitude : float
$livePeriod : integer | null
$longitude : float
$proximityAlertRadius : integer | null
$thumbHeight : integer | null
$thumbUrl : string | null
$thumbWidth : integer | null
$title : string