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
chat_id: Option<ChatIdOrUsername>
Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)
message_id: Option<Integer>
Required if inline_message_id is not specified. Identifier of the sent message
inline_message_id: Option<String>
Required if chat_id and message_id are not specified. Identifier of the inline message
reply_markup: Option<InlineKeyboardMarkup>
A JSON-serialized object for an inline keyboard.
Trait Implementations
impl Debug for EditMessageReplyMarkup
[src]
impl Debug for EditMessageReplyMarkup
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ActixMessage for EditMessageReplyMarkup
[src]
impl ActixMessage for EditMessageReplyMarkup
type Result = Result<MessageOrTrue, ()>
The type of value that this message will resolved with if it is successful. Read more
impl Handler<EditMessageReplyMarkup> for TelegramApi
[src]
impl Handler<EditMessageReplyMarkup> for TelegramApi
type Result = Box<Future<Item = MessageOrTrue, Error = ()>>
The type of value that this handle will return
fn handle(
&mut self,
msg: EditMessageReplyMarkup,
_ctx: &mut Context<Self>
) -> Self::Result
[src]
fn handle(
&mut self,
msg: EditMessageReplyMarkup,
_ctx: &mut Context<Self>
) -> Self::Result
Method is called for every message received by this Actor
Auto Trait Implementations
impl Send for EditMessageReplyMarkup
impl Send for EditMessageReplyMarkup
impl Sync for EditMessageReplyMarkup
impl Sync for EditMessageReplyMarkup