Inherits td::td_api::InputMessageContent.
|
object_ptr< InputFile > | voice_note_ |
| Voice note to be sent.
|
|
int32 | duration_ |
| Duration of the voice note, in seconds.
|
|
bytes | waveform_ |
| Waveform representation of the voice note in 5-bit format.
|
|
object_ptr< formattedText > | caption_ |
| Voice note caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
|
|
|
static const std::int32_t | ID = 2136519657 |
| Identifier uniquely determining a type of the object.
|
|
◆ inputMessageVoiceNote() [1/2]
td::td_api::inputMessageVoiceNote::inputMessageVoiceNote |
( |
| ) |
|
◆ inputMessageVoiceNote() [2/2]
A voice note message.
- Parameters
-
[in] | voice_note_ | Voice note to be sent. |
[in] | duration_ | Duration of the voice note, in seconds. |
[in] | waveform_ | Waveform representation of the voice note in 5-bit format. |
[in] | caption_ | Voice note caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters. |
◆ get_id()
std::int32_t td::td_api::inputMessageVoiceNote::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::inputMessageVoiceNote::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: