Inherits NotificationType.
New message was received.
Public Fields | |
| object_ptr< message > | message_ |
| The message. | |
| bool | show_preview_ |
| True, if message content must be displayed in notifications. | |
Public Instance Methods | |
| notificationTypeNewMessage () | |
| notificationTypeNewMessage (object_ptr< message > &&message_, bool show_preview_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| 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 |
Static Public Attributes | |
| static const std::int32_t | ID = -254745614 |
| Identifier uniquely determining a type of the object. | |
New message was received.
| 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. |
|
finalvirtual |