stopMessageLiveLocationInline method

Future<bool> stopMessageLiveLocationInline({
  1. String? inlineMessageId,
  2. ReplyMarkup? replyMarkup,
})
inherited

Use this method to stop updating a live location message before live_period expires.

On success, True is returned.

Implementation

Future<bool> stopMessageLiveLocationInline({
  String? inlineMessageId,
  ReplyMarkup? replyMarkup,
}) {
  return _client.apiCall(_token, 'stopMessageLiveLocation', {
    'inline_message_id': inlineMessageId,
    'reply_markup': replyMarkup,
  });
}