Struct actix_telegram::methods::EditMessageReplyMarkup[][src]

pub struct EditMessageReplyMarkup {
    pub chat_id: Option<ChatIdOrUsername>,
    pub message_id: Option<Integer>,
    pub inline_message_id: Option<String>,
    pub reply_markup: Option<InlineKeyboardMarkup>,
}

Use this method to edit only the reply markup of messages sent by the bot or via the bot (for inline bots). On success, if edited message is sent by the bot, the edited Message is returned, otherwise True is returned.

Fields

Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)

Required if inline_message_id is not specified. Identifier of the sent message

Required if chat_id and message_id are not specified. Identifier of the inline message

A JSON-serialized object for an inline keyboard.

Trait Implementations

impl Debug for EditMessageReplyMarkup
[src]

Formats the value using the given formatter. Read more

impl ActixMessage for EditMessageReplyMarkup
[src]

The type of value that this message will resolved with if it is successful. Read more

impl Handler<EditMessageReplyMarkup> for TelegramApi
[src]

The type of value that this handle will return

Method is called for every message received by this Actor

Auto Trait Implementations