editMessageReplyMarkup method

Future<Message> editMessageReplyMarkup(
  1. ChatID? chatId,
  2. int? messageId, {
  3. ReplyMarkup? replyMarkup,
})
inherited

Use this method to edit only the reply markup of messages.

On success, the edited Message is returned.

Implementation

Future<Message> editMessageReplyMarkup(
  ChatID? chatId,
  int? messageId, {
  ReplyMarkup? replyMarkup,
}) {
  return _client.apiCall(_token, 'editMessageReplyMarkup', {
    'chat_id': chatId,
    'message_id': messageId,
    'reply_markup': replyMarkup,
  });
}