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