Inherits td::td_api::InputMessageContent.
|
object_ptr< InputFile > | audio_ |
| Audio file to be sent.
|
|
object_ptr< inputThumbnail > | album_cover_thumbnail_ |
| Thumbnail of the cover for the album; pass null to skip thumbnail uploading.
|
|
int32 | duration_ |
| Duration of the audio, in seconds; may be replaced by the server.
|
|
string | title_ |
| Title of the audio; 0-64 characters; may be replaced by the server.
|
|
string | performer_ |
| Performer of the audio; 0-64 characters, may be replaced by the server.
|
|
object_ptr< formattedText > | caption_ |
| Audio caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
|
|
|
static const std::int32_t | ID = -626786126 |
| Identifier uniquely determining a type of the object.
|
|
◆ inputMessageAudio() [1/2]
td::td_api::inputMessageAudio::inputMessageAudio |
( |
| ) |
|
◆ inputMessageAudio() [2/2]
An audio message.
- Parameters
-
[in] | audio_ | Audio file to be sent. |
[in] | album_cover_thumbnail_ | Thumbnail of the cover for the album; pass null to skip thumbnail uploading. |
[in] | duration_ | Duration of the audio, in seconds; may be replaced by the server. |
[in] | title_ | Title of the audio; 0-64 characters; may be replaced by the server. |
[in] | performer_ | Performer of the audio; 0-64 characters, may be replaced by the server. |
[in] | caption_ | Audio caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters. |
◆ get_id()
std::int32_t td::td_api::inputMessageAudio::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::inputMessageAudio::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: