pub struct AppUpdate {
pub can_not_skip: bool,
pub id: i32,
pub version: String,
pub text: String,
pub entities: Vec<MessageEntity>,
pub document: Option<Document>,
pub url: Option<String>,
pub sticker: Option<Document>,
}Expand description
Generated from:
help.appUpdate#ccbbce30 flags:# can_not_skip:flags.0?true id:int version:string text:string entities:Vector<MessageEntity> document:flags.1?Document url:flags.2?string sticker:flags.3?Document = help.AppUpdateFields§
§can_not_skip: bool§id: i32§version: String§text: String§entities: Vec<MessageEntity>§document: Option<Document>§url: Option<String>§sticker: Option<Document>Trait Implementations§
Source§impl Deserializable for AppUpdate
impl Deserializable for AppUpdate
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 Identifiable for AppUpdate
impl Identifiable for AppUpdate
Source§const CONSTRUCTOR_ID: u32 = 0xccbbce30
const CONSTRUCTOR_ID: u32 = 0xccbbce30
The constructor ID as specified in the TL schema.
Source§impl Serializable for AppUpdate
impl Serializable for AppUpdate
impl StructuralPartialEq for AppUpdate
Auto Trait Implementations§
impl Freeze for AppUpdate
impl RefUnwindSafe for AppUpdate
impl Send for AppUpdate
impl Sync for AppUpdate
impl Unpin for AppUpdate
impl UnsafeUnpin for AppUpdate
impl UnwindSafe for AppUpdate
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