Message.edit_reply_markup()

Message.edit_reply_markup()

Shortcut for method edit_message_reply_markup will automatically fill method attributes:

  • chat_id

  • message_id

Parameters:

reply_markup (InlineKeyboardMarkup) – An InlineKeyboardMarkup object.

Returns:

On success, if edited message is sent by the bot, the edited Message is returned, otherwise True is returned.

Raises:

RPCError – In case of a Telegram RPC error.