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

Trait Implementations

impl Debug for Message
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Message
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BareSerialize for Message
[src]

impl BareDeserialize for Message
[src]

impl IntoBoxed for Message
[src]

[src]

Auto Trait Implementations

impl Send for Message

impl Sync for Message