libtd-ktx / kotlinx.telegram.extensions / MessageKtx / editLiveLocation
editLiveLocation
open suspend fun Message.editLiveLocation(chatId: 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
chatId - The chat the message belongs to.
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.