|
TDLib
|
Inherits Object.
A video note to be sent.
Public Member Functions | |
| inputVoiceNote () | |
| inputVoiceNote (object_ptr< InputFile > &&voice_note_, int32 duration_, bytes const &waveform_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| int32 | duration_ |
| Duration of the voice note, in seconds. | |
| object_ptr< InputFile > | voice_note_ |
| Voice note file to be sent. The voice note must be encoded with the Opus codec and stored inside an OGG container with a single audio channel, or be in MP3 or M4A format as regular audio. | |
| bytes | waveform_ |
| Waveform representation of the voice note in 5-bit format. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1965682819 |
| Identifier uniquely determining a type of the object. | |
| inputVoiceNote | ( | ) |
A video note to be sent.
| inputVoiceNote | ( | object_ptr< InputFile > && | voice_note_, |
| int32 | duration_, | ||
| bytes const & | waveform_ ) |
A video note to be sent.
| [in] | voice_note_ | Voice note file to be sent. The voice note must be encoded with the Opus codec and stored inside an OGG container with a single audio channel, or be in MP3 or M4A format as regular audio. |
| [in] | duration_ | Duration of the voice note, in seconds. |
| [in] | waveform_ | Waveform representation of the voice note in 5-bit format. |
|
finalvirtual |