Struct clacks_mtproto::mtproto::message::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>, }
TL-derived from message
message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message;
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