TelegramBot.editMessageLiveLocation

Edit live location message

Overloads take either chat_id and message_id or inline_message_id

  1. Message editMessageLiveLocation(T chat_id, int message_id, float latitude, float longitude)
    struct TelegramBot
    @trusted
    editMessageLiveLocation
    (
    T
    )
    (,,
    float latitude
    ,
    float longitude
    )
  2. Message editMessageLiveLocation(string inline_message_id, float latitude, float longitude)
  3. Message editMessageLiveLocation(EditMessageLiveLocationMethod m)

Parameters

chat_id T

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

message_id int

ID of the message to edit

latitude float

Latitude of new location

longitude float

longitude of new location

Return Value

Type: Message

Edited Message

Throws

TelegramBotException on errors

See Also

Meta