Inherits MessageForwardInfo.
The message was originally written by a known user.
Public Fields | |
std::int32_t | sender_user_id_ |
Identifier of the user that originally sent this message. | |
std::int32_t | date_ |
Point in time (Unix timestamp) when the message was originally sent. | |
std::int64_t | forwarded_from_chat_id_ |
For messages forwarded to the chat with the current user (saved messages), the identifier of the chat from which the message was forwarded; 0 if unknown. | |
std::int64_t | forwarded_from_message_id_ |
For messages forwarded to the chat with the current user (saved messages) the identifier of the original message from which the new message was forwarded; 0 if unknown. | |
Public Instance Methods | |
messageForwardedFromUser () | |
messageForwardedFromUser (std::int32_t sender_user_id_, std::int32_t date_, std::int64_t forwarded_from_chat_id_, std::int64_t forwarded_from_message_id_) | |
std::int32_t | get_id () const final |
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 = 1004332765 |
Identifier uniquely determining a type of the object. | |
Default constructor. All fields will be value-initilaized.
messageForwardedFromUser | ( | std::int32_t | sender_user_id_, |
std::int32_t | date_, | ||
std::int64_t | forwarded_from_chat_id_, | ||
std::int64_t | forwarded_from_message_id_ | ||
) |
Constructor for initialization of all fields.
[in] | sender_user_id_ | Identifier of the user that originally sent this message. |
[in] | date_ | Point in time (Unix timestamp) when the message was originally sent. |
[in] | forwarded_from_chat_id_ | For messages forwarded to the chat with the current user (saved messages), the identifier of the chat from which the message was forwarded; 0 if unknown. |
[in] | forwarded_from_message_id_ | For messages forwarded to the chat with the current user (saved messages) the identifier of the original message from which the new message was forwarded; 0 if unknown. |
|
inlinefinalvirtual |
|
finalvirtual |