pub enum ExternalReplyData {
Show 21 variants
Animation(Animation),
Audio(Audio),
Checklist(Checklist),
Contact(Contact),
Dice(Dice),
Document(Document),
Game(Game),
Giveaway(Giveaway),
GiveawayWinners(GiveawayWinners),
Invoice(Invoice),
Location(Location),
PaidMedia(PaidMediaInfo),
Photo(Vec<PhotoSize>),
Poll(Poll),
Sticker(Sticker),
Story(Story),
Venue(Venue),
Video(Video),
VideoNote(VideoNote),
Voice(Voice),
Unknown(Value),
}
Expand description
Contains data of an external reply info.
Variants§
Animation(Animation)
Message is an animation, information about the animation.
Audio(Audio)
Message is an audio file, information about the file.
Checklist(Checklist)
Message is a checklist
Contact(Contact)
Message is a shared contact, information about the contact.
Dice(Dice)
Message is a dice with random value.
Document(Document)
Message is a general file, information about the file.
Game(Game)
Message is a game, information about the game.
Giveaway(Giveaway)
Message is a scheduled giveaway, information about the giveaway.
GiveawayWinners(GiveawayWinners)
A giveaway with public winners was completed.
Invoice(Invoice)
Message is an invoice for a payment, information about the invoice.
Location(Location)
Message is a shared location, information about the location.
PaidMedia(PaidMediaInfo)
Message contains paid media, information about the paid media.
Photo(Vec<PhotoSize>)
Message is a photo, available sizes of the photo.
Poll(Poll)
Message is a native poll, information about the poll.
Sticker(Sticker)
Message is a sticker, information about the sticker.
Story(Story)
Message is a forwarded story.
Venue(Venue)
Message is a venue, information about the venue.
Video(Video)
Message is a video, information about the video.
VideoNote(VideoNote)
Message is a video note, information about the video message.
Voice(Voice)
Message is a voice message, information about the file.
Unknown(Value)
Contains arbitrary data for future variants.
Trait Implementations§
Source§impl Clone for ExternalReplyData
impl Clone for ExternalReplyData
Source§fn clone(&self) -> ExternalReplyData
fn clone(&self) -> ExternalReplyData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more