Class EditMessageLiveLocationMethod.

see
package Default

 Methods

create()

create(integer|string $chatId, \TgBotApi\BotApiBase\Method\int $messageId, \TgBotApi\BotApiBase\Method\float $latitude, \TgBotApi\BotApiBase\Method\float $longitude, array $data = null
Static

Parameters

$chatId

integerstring

$messageId

$latitude

$longitude

$data

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

createInline()

createInline(\TgBotApi\BotApiBase\Method\string $inlineMessageId, \TgBotApi\BotApiBase\Method\float $latitude, \TgBotApi\BotApiBase\Method\float $longitude, array $data = null
Static

Parameters

$inlineMessageId

$latitude

$longitude

$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

 

Required if inline_message_id is not specified.

$chatId : integer | string

Default

Unique identifier for the target chat or username of the target channel (in the format @channelusername).

 

Optional. Direction in which the user is moving, in degrees.

$heading : integer | null

Default

Must be between 1 and 360 if specified.

 

Optional. The radius of uncertainty for the location, measured in meters; 0-1500.

$horizontalAccuracy : float | integer | null

Default

 

Optional. Required if chat_id and message_id are not specified. Identifier of the inline message.

$inlineMessageId : string | null

Default

 

Latitude of the location.

$latitude : float

Default

 

Longitude of the location.

$longitude : float

Default

 

Optional. Required if inline_message_id is not specified. Identifier of the sent message.

$messageId : integer | null

Default

 

Optional. Maximum distance for proximity alerts about approaching another chat member, in meters.

$proximityAlertRadius : integer | null

Default

Must be between 1 and 100000 if specified.

 

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

Default