Interface EditMessageLiveLocation

Edits the message content of a live location. Messages can be edited for a limited period of time specified in the live location. Returns the edited message after the edit is completed on the server side. Request type for Tdjson#editMessageLiveLocation.

interface EditMessageLiveLocation {
    @type: "editMessageLiveLocation";
    chat_id: number;
    location: LiveLocation;
    message_id: number;
    reply_markup: ReplyMarkup;
}

Properties

@type: "editMessageLiveLocation"
chat_id: number

The chat the message belongs to.

location: LiveLocation

New live location of the message; pass null to stop sharing the live location. If the new live_period isn't set to 0x7FFFFFFF, then it must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days.

message_id: number

Identifier of the message. Use messageProperties.can_be_edited to check whether the message can be edited.

reply_markup: ReplyMarkup

The new message reply markup; pass null if none; for bots only.