Struct clacks_mtproto::mtproto::update::ServiceNotification
[−]
[src]
pub struct ServiceNotification { pub popup: bool, pub inbox_date: Option<int>, pub type_: string, pub message: string, pub media: MessageMedia, pub entities: Vector<Boxed, MessageEntity>, }
TL-derived from updateServiceNotification
updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update;
Fields
popup: bool
inbox_date: Option<int>
type_: string
message: string
media: MessageMedia
entities: Vector<Boxed, MessageEntity>
Trait Implementations
impl Debug for ServiceNotification
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ServiceNotification
[src]
fn clone(&self) -> ServiceNotification
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more