libtd-ktx / kotlinx.telegram.coroutines / editMessageLiveLocation
editMessageLiveLocation
suspend fun
TelegramFlow
.editMessageLiveLocation(chatId:
Long
, 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
chatId
- The chat the message belongs to.
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 Message Describes a message.