stopMessageLiveLocation method

Future<Message> stopMessageLiveLocation({
  1. ChatID? chatId,
  2. int? messageId,
  3. 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,
  });
}