Skip to content

editInlineMessageLiveLocation

Function · TDLib 1.8.67 · d1085f9c

Edits the content of a live location in an inline message sent via a bot; for bots only

editInlineMessageLiveLocation(
  inline_message_id: string,
  reply_markup: ReplyMarkup,
  location: LiveLocation
) → Ok

inline_message_id

string

Inline message identifier

reply_markup

ReplyMarkup

The new message reply markup; pass null if none

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