TelegramBot.editMessageReplyMarkup

Edit reply markup of a message

Overloads take either chat_id and message_id or inline_message_id

  1. Message editMessageReplyMarkup(T chat_id, int message_id, InlineKeyboardMarkup reply_markup)
    struct TelegramBot
    @trusted
    editMessageReplyMarkup
    (
    T
    )
  2. Message editMessageReplyMarkup(string inline_message_id, InlineKeyboardMarkup reply_markup)
  3. Message editMessageReplyMarkup(EditMessageReplyMarkupMethod m)

Parameters

chat_id T

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

message_id int

Identifier of the sent message

reply_markup InlineKeyboardMarkup

Object for a new inline keyboard

Return Value

Type: Message

Edited Message

Throws

TelegramBotException on errors

See Also

Meta