pub struct BotInlineMessageText {
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:
botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true invert_media:flags.3?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = BotInlineMessageFields§
§no_webpage: bool§invert_media: bool§message: String§entities: Option<Vec<MessageEntity>>§reply_markup: Option<ReplyMarkup>Trait Implementations§
Source§impl Clone for BotInlineMessageText
impl Clone for BotInlineMessageText
Source§fn clone(&self) -> BotInlineMessageText
fn clone(&self) -> BotInlineMessageText
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 BotInlineMessageText
impl Debug for BotInlineMessageText
Source§impl Deserializable for BotInlineMessageText
impl Deserializable for BotInlineMessageText
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<BotInlineMessageText> for BotInlineMessage
impl From<BotInlineMessageText> for BotInlineMessage
Source§fn from(x: BotInlineMessageText) -> Self
fn from(x: BotInlineMessageText) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotInlineMessageText
impl Identifiable for BotInlineMessageText
Source§const CONSTRUCTOR_ID: u32 = 0x8c7f65e2
const CONSTRUCTOR_ID: u32 = 0x8c7f65e2
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BotInlineMessageText
impl PartialEq for BotInlineMessageText
Source§impl Serializable for BotInlineMessageText
impl Serializable for BotInlineMessageText
Source§impl TryFrom<BotInlineMessage> for BotInlineMessageText
impl TryFrom<BotInlineMessage> for BotInlineMessageText
Source§type Error = BotInlineMessage
type Error = BotInlineMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for BotInlineMessageText
Auto Trait Implementations§
impl Freeze for BotInlineMessageText
impl RefUnwindSafe for BotInlineMessageText
impl Send for BotInlineMessageText
impl Sync for BotInlineMessageText
impl Unpin for BotInlineMessageText
impl UnsafeUnpin for BotInlineMessageText
impl UnwindSafe for BotInlineMessageText
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