pub struct InputBotInlineMessageText {
pub no_webpage: bool,
pub invert_media: bool,
pub message: String,
pub entities: Option<Vec<MessageEntity>>,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
Generated from:
inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true invert_media:flags.3?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = InputBotInlineMessageFields§
§no_webpage: bool§invert_media: bool§message: String§entities: Option<Vec<MessageEntity>>§reply_markup: Option<ReplyMarkup>Trait Implementations§
Source§impl Clone for InputBotInlineMessageText
impl Clone for InputBotInlineMessageText
Source§fn clone(&self) -> InputBotInlineMessageText
fn clone(&self) -> InputBotInlineMessageText
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputBotInlineMessageText
impl Debug for InputBotInlineMessageText
Source§impl Deserializable for InputBotInlineMessageText
impl Deserializable for InputBotInlineMessageText
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputBotInlineMessageText> for InputBotInlineMessage
impl From<InputBotInlineMessageText> for InputBotInlineMessage
Source§fn from(x: InputBotInlineMessageText) -> Self
fn from(x: InputBotInlineMessageText) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputBotInlineMessageText
impl Identifiable for InputBotInlineMessageText
Source§const CONSTRUCTOR_ID: u32 = 0x3dcd7a87
const CONSTRUCTOR_ID: u32 = 0x3dcd7a87
The constructor ID as specified in the TL schema.
Source§impl TryFrom<InputBotInlineMessage> for InputBotInlineMessageText
impl TryFrom<InputBotInlineMessage> for InputBotInlineMessageText
Source§type Error = InputBotInlineMessage
type Error = InputBotInlineMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputBotInlineMessageText
Auto Trait Implementations§
impl Freeze for InputBotInlineMessageText
impl RefUnwindSafe for InputBotInlineMessageText
impl Send for InputBotInlineMessageText
impl Sync for InputBotInlineMessageText
impl Unpin for InputBotInlineMessageText
impl UnsafeUnpin for InputBotInlineMessageText
impl UnwindSafe for InputBotInlineMessageText
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