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
message_id: Integer
from: User
chat: Chat
date: Integer
forward: Option<(User, Integer)>
reply: Option<Box<Message>>
msg: MessageType
caption: Option<String>
Trait Implementations
impl Debug for Message[src]
impl Debug for Messagefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Message[src]
impl PartialEq for Messagefn eq(&self, other: &Message) -> bool[src]
fn eq(&self, other: &Message) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Message) -> bool[src]
fn ne(&self, other: &Message) -> boolThis method tests for !=.
impl Clone for Message[src]
impl Clone for Messagefn clone(&self) -> Message[src]
fn clone(&self) -> MessageReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Decodable for Message[src]
impl Decodable for Message