Struct telegram_bot::types::Message[][src]

pub struct Message {
    pub message_id: Integer,
    pub from: User,
    pub chat: Chat,
    pub date: Integer,
    pub forward: Option<(User, Integer)>,
    pub reply: Option<Box<Message>>,
    pub msg: MessageType,
    pub caption: Option<String>,
}

Fields

Trait Implementations

impl Debug for Message
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Message
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Message
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Decodable for Message
[src]

Deserialize a value using a Decoder.

Auto Trait Implementations

impl Send for Message

impl Sync for Message