pub struct BotInlineMessageMediaWebPage {
pub invert_media: bool,
pub force_large_media: bool,
pub force_small_media: bool,
pub manual: bool,
pub safe: bool,
pub message: String,
pub entities: Option<Vec<MessageEntity>>,
pub url: String,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
Generated from:
botInlineMessageMediaWebPage#809ad9a6 flags:# invert_media:flags.3?true force_large_media:flags.4?true force_small_media:flags.5?true manual:flags.7?true safe:flags.8?true message:string entities:flags.1?Vector<MessageEntity> url:string reply_markup:flags.2?ReplyMarkup = BotInlineMessageFields§
§invert_media: bool§force_large_media: bool§force_small_media: bool§manual: bool§safe: bool§message: String§entities: Option<Vec<MessageEntity>>§url: String§reply_markup: Option<ReplyMarkup>Trait Implementations§
Source§impl Clone for BotInlineMessageMediaWebPage
impl Clone for BotInlineMessageMediaWebPage
Source§fn clone(&self) -> BotInlineMessageMediaWebPage
fn clone(&self) -> BotInlineMessageMediaWebPage
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 BotInlineMessageMediaWebPage
impl Debug for BotInlineMessageMediaWebPage
Source§impl Deserializable for BotInlineMessageMediaWebPage
impl Deserializable for BotInlineMessageMediaWebPage
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<BotInlineMessageMediaWebPage> for BotInlineMessage
impl From<BotInlineMessageMediaWebPage> for BotInlineMessage
Source§fn from(x: BotInlineMessageMediaWebPage) -> Self
fn from(x: BotInlineMessageMediaWebPage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotInlineMessageMediaWebPage
impl Identifiable for BotInlineMessageMediaWebPage
Source§const CONSTRUCTOR_ID: u32 = 0x809ad9a6
const CONSTRUCTOR_ID: u32 = 0x809ad9a6
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BotInlineMessageMediaWebPage
impl PartialEq for BotInlineMessageMediaWebPage
Source§fn eq(&self, other: &BotInlineMessageMediaWebPage) -> bool
fn eq(&self, other: &BotInlineMessageMediaWebPage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BotInlineMessage> for BotInlineMessageMediaWebPage
impl TryFrom<BotInlineMessage> for BotInlineMessageMediaWebPage
Source§type Error = BotInlineMessage
type Error = BotInlineMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for BotInlineMessageMediaWebPage
Auto Trait Implementations§
impl Freeze for BotInlineMessageMediaWebPage
impl RefUnwindSafe for BotInlineMessageMediaWebPage
impl Send for BotInlineMessageMediaWebPage
impl Sync for BotInlineMessageMediaWebPage
impl Unpin for BotInlineMessageMediaWebPage
impl UnsafeUnpin for BotInlineMessageMediaWebPage
impl UnwindSafe for BotInlineMessageMediaWebPage
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