[−][src]Struct telebot::objects::Message
This object represents a message.
Fields
message_id: Integer
from: Option<User>
date: Integer
chat: Chat
forward_from: Option<User>
forward_from_chat: Option<Chat>
forward_from_message_id: Option<Integer>
forward_date: Option<Integer>
reply_to_message: Option<Box<Message>>
edit_date: Option<Integer>
text: Option<String>
entities: Option<Vec<MessageEntity>>
audio: Option<Audio>
document: Option<Document>
game: Option<Game>
photo: Option<Vec<PhotoSize>>
sticker: Option<Sticker>
video: Option<Video>
voice: Option<Voice>
contact: Option<Contact>
location: Option<Location>
venue: Option<Venue>
new_chat_member: Option<User>
left_chat_member: Option<User>
new_chat_title: Option<String>
new_chat_photo: Option<Vec<PhotoSize>>
delete_chat_photo: Option<bool>
group_chat_created: Option<bool>
supergroup_chat_created: Option<bool>
channel_chat_created: Option<bool>
migrate_to_chat_id: Option<Integer>
migrate_from_chat_id: Option<Integer>
pinned_message: Option<Box<Message>>
Trait Implementations
impl Debug for Message
[src]
impl<'de> Deserialize<'de> for Message
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,