libtd-ktx / kotlinx.telegram.extensions / ChatKtx / editMessageLiveLocation
editMessageLiveLocation
open suspend fun Chat.editMessageLiveLocation(messageId: Long, replyMarkup: ReplyMarkup?, location: Location? = null): Message
Suspend function, which 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.
Parameters
messageId - Identifier of the message.
replyMarkup - The new message reply markup; for bots only.
location - New location content of the message; may be null. Pass null to stop sharing the
live location.
Return TdApi.Message Describes a message.