|
TDLib
|
Inherits NotificationType.
New message was received through a push notification.
Public Member Functions | |
| notificationTypeNewPushMessage () | |
| notificationTypeNewPushMessage (int53 message_id_, object_ptr< MessageSender > &&sender_id_, string const &sender_name_, bool is_outgoing_, object_ptr< PushMessageContent > &&content_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| object_ptr< PushMessageContent > | content_ |
| Push message content. | |
| bool | is_outgoing_ |
| True, if the message is outgoing. | |
| int53 | message_id_ |
| The message identifier. The message will not be available in the chat history, but the identifier can be used in viewMessages, or as a message to be replied in the same chat. | |
| object_ptr< MessageSender > | sender_id_ |
| Identifier of the sender of the message. Corresponding user or chat may be inaccessible. | |
| string | sender_name_ |
| Name of the sender. | |
Static Public Attributes | |
| static const std::int32_t | ID = -711680462 |
| Identifier uniquely determining a type of the object. | |
| notificationTypeNewPushMessage | ( | ) |
New message was received through a push notification.
| notificationTypeNewPushMessage | ( | int53 | message_id_, |
| object_ptr< MessageSender > && | sender_id_, | ||
| string const & | sender_name_, | ||
| bool | is_outgoing_, | ||
| object_ptr< PushMessageContent > && | content_ ) |
New message was received through a push notification.
| [in] | message_id_ | The message identifier. The message will not be available in the chat history, but the identifier can be used in viewMessages, or as a message to be replied in the same chat. |
| [in] | sender_id_ | Identifier of the sender of the message. Corresponding user or chat may be inaccessible. |
| [in] | sender_name_ | Name of the sender. |
| [in] | is_outgoing_ | True, if the message is outgoing. |
| [in] | content_ | Push message content. |
|
finalvirtual |