Struct clacks::mtproto::message
[−]
[src]
pub struct message { pub out: bool, pub mentioned: bool, pub media_unread: bool, pub silent: bool, pub post: bool, pub id: int, pub from_id: Option<int>, pub to_id: Peer, pub fwd_from: Option<MessageFwdHeader>, pub via_bot_id: Option<int>, pub reply_to_msg_id: Option<int>, pub date: int, pub message: string, pub media: Option<MessageMedia>, pub reply_markup: Option<ReplyMarkup>, pub entities: Option<Vector<Boxed, MessageEntity>>, pub views: Option<int>, pub edit_date: Option<int>, pub post_author: Option<string>, pub grouped_id: Option<long>, }
Fields
out: bool
mentioned: bool
media_unread: bool
silent: bool
post: bool
id: int
from_id: Option<int>
to_id: Peer
fwd_from: Option<MessageFwdHeader>
via_bot_id: Option<int>
reply_to_msg_id: Option<int>
date: int
message: string
media: Option<MessageMedia>
reply_markup: Option<ReplyMarkup>
entities: Option<Vector<Boxed, MessageEntity>>
views: Option<int>
edit_date: Option<int>
grouped_id: Option<long>
Trait Implementations
impl Debug for message
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for message
[src]
fn clone(&self) -> message
[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