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

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]

[src]

impl BareDeserialize for message
[src]

[src]

impl IntoBoxed for message
[src]

[src]

Auto Trait Implementations

impl Send for message

impl Sync for message