Struct telegram_typings::Animation [] [src]

pub struct Animation {
    pub file_id: String,
    pub thumb: Option<Box<PhotoSize>>,
    pub file_name: Option<String>,
    pub mime_type: Option<String>,
    pub file_size: Option<i64>,
}

You can provide an animation for your game so that it looks stylish in chats (check out Lumberjack for an example). This object represents an animation file to be displayed in the message containing a game. See https://core.telegram.org/bots/api#game See https://t.me/gamebot See https://core.telegram.org/bots/api#games

Fields

Unique file identifier

Animation thumbnail as defined by sender

Original animation filename as defined by sender

MIME type of the file as defined by sender

File size

Trait Implementations

impl Debug for Animation
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Animation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Animation

impl Sync for Animation