TDLib
|
Inherits td::td_api::NotificationType.
Public Member Functions | |
notificationTypeNewMessage () | |
notificationTypeNewMessage (object_ptr< message > &&message_, bool show_preview_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Public Attributes | |
object_ptr< message > | message_ |
The message. | |
bool | show_preview_ |
True, if message content must be displayed in notifications. | |
Static Public Attributes | |
static const std::int32_t | ID = -254745614 |
Identifier uniquely determining a type of the object. | |
New message was received.
td::td_api::notificationTypeNewMessage::notificationTypeNewMessage | ( | ) |
New message was received.
td::td_api::notificationTypeNewMessage::notificationTypeNewMessage | ( | object_ptr< message > && | message_, |
bool | show_preview_ | ||
) |
New message was received.
[in] | message_ | The message. |
[in] | show_preview_ | True, if message content must be displayed in notifications. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.