Inherits Object.
Contains information about the last message from which a new message was forwarded last time.
Public Fields | |
int53 | chat_id_ |
Identifier of the chat to which the message that was forwarded belonged; may be 0 if unknown. | |
int53 | message_id_ |
Identifier of the message; may be 0 if unknown. | |
object_ptr< MessageSender > | sender_id_ |
Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages. | |
string | sender_name_ |
Name of the sender of the message if the sender is hidden by their privacy settings. | |
int32 | date_ |
Point in time (Unix timestamp) when the message is sent; 0 if unknown. | |
bool | is_outgoing_ |
True, if the message that was forwarded is outgoing; always false if sender is unknown. | |
Public Instance Methods | |
forwardSource () | |
forwardSource (int53 chat_id_, int53 message_id_, object_ptr< MessageSender > &&sender_id_, string const &sender_name_, int32 date_, bool is_outgoing_) | |
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 = 1795337929 |
Identifier uniquely determining a type of the object. | |
forwardSource | ( | ) |
Contains information about the last message from which a new message was forwarded last time.
forwardSource | ( | int53 | chat_id_, |
int53 | message_id_, | ||
object_ptr< MessageSender > && | sender_id_, | ||
string const & | sender_name_, | ||
int32 | date_, | ||
bool | is_outgoing_ | ||
) |
Contains information about the last message from which a new message was forwarded last time.
[in] | chat_id_ | Identifier of the chat to which the message that was forwarded belonged; may be 0 if unknown. |
[in] | message_id_ | Identifier of the message; may be 0 if unknown. |
[in] | sender_id_ | Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages. |
[in] | sender_name_ | Name of the sender of the message if the sender is hidden by their privacy settings. |
[in] | date_ | Point in time (Unix timestamp) when the message is sent; 0 if unknown. |
[in] | is_outgoing_ | True, if the message that was forwarded is outgoing; always false if sender is unknown. |
|
finalvirtual |