You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.
// VoiceNote Describes a voice note. The voice note must be encoded with the Opus codec, and stored inside an OGG container. Voice notes can have only a single audio channel
type VoiceNote struct {
tdCommon
Duration int32 `json:"duration"` // Duration of the voice note, in seconds; as defined by the sender
Waveform []byte `json:"waveform"` // A waveform representation of the voice note in 5-bit format
MimeType string `json:"mime_type"` // MIME type of the file; as defined by the sender
Voice *File `json:"voice"` // File containing the voice note
}
// MessageType return the string telegram-type of VoiceNote