Skip to content

editBusinessMessageLiveLocation

Function · TDLib 1.8.67 · d1085f9c

Edits the content of a live location in a message sent on behalf of a business account; for bots only

editBusinessMessageLiveLocation(
  business_connection_id: string,
  chat_id: int53,
  message_id: int53,
  reply_markup: ReplyMarkup,
  location: LiveLocation
) → BusinessMessage

business_connection_id

string

Unique identifier of business connection on behalf of which the message was sent

chat_id

int53

The chat the message belongs to

message_id

int53

Identifier of the message

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