Inherits td::td_api::PushMessageContent.
|
object_ptr< voiceNote > | voice_note_ |
| Message content; may be null.
|
|
bool | is_pinned_ |
| True, if the message is a pinned message with the specified content.
|
|
|
static const std::int32_t | ID = 88910987 |
| Identifier uniquely determining a type of the object.
|
|
◆ pushMessageContentVoiceNote() [1/2]
td::td_api::pushMessageContentVoiceNote::pushMessageContentVoiceNote |
( |
| ) |
|
◆ pushMessageContentVoiceNote() [2/2]
td::td_api::pushMessageContentVoiceNote::pushMessageContentVoiceNote |
( |
object_ptr< voiceNote > && |
voice_note_, |
|
|
bool |
is_pinned_ |
|
) |
| |
A voice note message.
- Parameters
-
[in] | voice_note_ | Message content; may be null. |
[in] | is_pinned_ | True, if the message is a pinned message with the specified content. |
◆ get_id()
std::int32_t td::td_api::pushMessageContentVoiceNote::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::pushMessageContentVoiceNote::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: