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