pub enum MessageType {
Text(String),
Audio(Audio),
Voice(Voice),
File(Document),
Photo(Vec<PhotoSize>),
Sticker(Sticker),
Video(Video),
Contact(Contact),
Location(Location),
NewChatParticipant(User),
LeftChatParticipant(User),
NewChatTitle(String),
NewChatPhoto(Vec<PhotoSize>),
DeleteChatPhoto,
GroupChatCreated,
SuperGroupChatCreated(GroupToSuperGroupMigration),
ChannelChatCreated,
}
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Performs copy-assignment from source
. Read more
Deserialize a value using a Decoder
.