Struct actix_telegram::types::Voice [−][src]
pub struct Voice { pub file_id: String, pub duration: Integer, pub mime_type: Option<String>, pub file_size: Option<Integer>, }
This object represents a voice note.
Fields
file_id: String
Unique identifier for this file
duration: Integer
Duration of the audio in seconds as defined by sender
mime_type: Option<String>
MIME type of the file as defined by sender
file_size: Option<Integer>
File size