Struct clacks_mtproto::mtproto::dialog::Dialog
[−]
[src]
pub struct Dialog { pub pinned: bool, pub peer: Peer, pub top_message: int, pub read_inbox_max_id: int, pub read_outbox_max_id: int, pub unread_count: int, pub unread_mentions_count: int, pub notify_settings: PeerNotifySettings, pub pts: Option<int>, pub draft: Option<DraftMessage>, }
TL-derived from dialog
dialog#e4def5db flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog;
Fields
pinned: bool
peer: Peer
top_message: int
read_inbox_max_id: int
read_outbox_max_id: int
unread_count: int
unread_mentions_count: int
notify_settings: PeerNotifySettings
pts: Option<int>
draft: Option<DraftMessage>
Trait Implementations
impl Debug for Dialog
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Dialog
[src]
fn clone(&self) -> Dialog
[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