Struct botapi::gen_methods::CallEditMessageReplyMarkup
source · pub struct CallEditMessageReplyMarkup<'a> { /* private fields */ }Implementations§
source§impl<'a> CallEditMessageReplyMarkup<'a>
impl<'a> CallEditMessageReplyMarkup<'a>
sourcepub fn chat_id(self, chat_id: i64) -> Self
pub fn chat_id(self, chat_id: i64) -> Self
Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)
pub fn get_chat_id(&'a self) -> &'a Option<i64>
sourcepub fn message_id(self, message_id: i64) -> Self
pub fn message_id(self, message_id: i64) -> Self
Required if inline_message_id is not specified. Identifier of the message to edit
pub fn get_message_id(&'a self) -> &'a Option<i64>
sourcepub fn inline_message_id(self, inline_message_id: &'a str) -> Self
pub fn inline_message_id(self, inline_message_id: &'a str) -> Self
Required if chat_id and message_id are not specified. Identifier of the inline message
pub fn get_inline_message_id(&'a self) -> &'a Option<&'a str>
sourcepub fn reply_markup(self, reply_markup: &'a InlineKeyboardMarkup) -> Self
pub fn reply_markup(self, reply_markup: &'a InlineKeyboardMarkup) -> Self
A JSON-serialized object for an inline keyboard.
pub fn get_reply_markup(&'a self) -> &'a Option<&'a InlineKeyboardMarkup>
pub async fn build(self) -> BotResult<MessageBool>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CallEditMessageReplyMarkup<'a>
impl<'a> Send for CallEditMessageReplyMarkup<'a>
impl<'a> Sync for CallEditMessageReplyMarkup<'a>
impl<'a> Unpin for CallEditMessageReplyMarkup<'a>
impl<'a> !UnwindSafe for CallEditMessageReplyMarkup<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more