Inherits MessageForwardInfo.
The message was originally a post in a channel.
Public Fields | |
std::int64_t | chat_id_ |
Identifier of the chat from which the message was forwarded. | |
std::string | author_signature_ |
Post author signature. | |
std::int32_t | date_ |
Point in time (Unix timestamp) when the message was originally sent. | |
std::int64_t | message_id_ |
Message identifier of the original message from which the new message was forwarded; 0 if unknown. | |
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 | |
messageForwardedPost () | |
messageForwardedPost (std::int64_t chat_id_, std::string const &author_signature_, std::int32_t date_, std::int64_t message_id_, 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 = -244050875 |
Identifier uniquely determining a type of the object. | |
Default constructor. All fields will be value-initilaized.
messageForwardedPost | ( | std::int64_t | chat_id_, |
std::string const & | author_signature_, | ||
std::int32_t | date_, | ||
std::int64_t | message_id_, | ||
std::int64_t | forwarded_from_chat_id_, | ||
std::int64_t | forwarded_from_message_id_ | ||
) |
Constructor for initialization of all fields.
[in] | chat_id_ | Identifier of the chat from which the message was forwarded. |
[in] | author_signature_ | Post author signature. |
[in] | date_ | Point in time (Unix timestamp) when the message was originally sent. |
[in] | message_id_ | Message identifier of the original message from which the new message was forwarded; 0 if unknown. |
[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 |