Struct telegram_typings::Audio [] [src]

pub struct Audio {
    pub file_id: String,
    pub duration: i64,
    pub performer: Option<String>,
    pub title: Option<String>,
    pub mime_type: Option<String>,
    pub file_size: Option<i64>,
}

This object represents an audio file to be treated as music by the Telegram clients.

Fields

Unique identifier for this file

Duration of the audio in seconds as defined by sender

Performer of the audio as defined by sender or by audio tags

Title of the audio as defined by sender or by audio tags

MIME type of the file as defined by sender

File size

Trait Implementations

impl Debug for Audio
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Audio
[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 Audio

impl Sync for Audio