stopMessageLiveLocation method
Future<Message>
stopMessageLiveLocation({
- ChatID? chatId,
- int? messageId,
- ReplyMarkup? replyMarkup,
inherited
Use this method to stop updating a live location message before live_period expires.
On success, the edited Message
is returned.
Implementation
Future<Message> stopMessageLiveLocation({
ChatID? chatId,
int? messageId,
ReplyMarkup? replyMarkup,
}) {
return _client.apiCall(_token, 'stopMessageLiveLocation', {
'chat_id': chatId,
'message_id': messageId,
'reply_markup': replyMarkup,
});
}