Struct telegram_typings::Voice [] [src]

pub struct Voice {
    pub file_id: String,
    pub duration: i64,
    pub mime_type: Option<String>,
    pub file_size: Option<i64>,
}

This object represents a voice note.

Fields

Unique identifier for this file

Duration of the audio in seconds as defined by sender

MIME type of the file as defined by sender

File size

Trait Implementations

impl Debug for Voice
[src]

[src]

Formats the value using the given formatter. Read more

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

impl Sync for Voice