|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| messageLinkInfo () | |
| messageLinkInfo (bool is_public_, int53 chat_id_, int53 message_thread_id_, object_ptr< message > &&message_, int32 media_timestamp_, bool for_album_) | |
| std::int32_t | get_id () const final |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::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 |
Public Attributes | |
| bool | is_public_ |
| True, if the link is a public link for a message or a forum topic in a chat. | |
| int53 | chat_id_ |
| If found, identifier of the chat to which the link points, 0 otherwise. | |
| int53 | message_thread_id_ |
| If found, identifier of the message thread in which to open the message, or a forum topic to open if the message is missing. | |
| object_ptr< message > | message_ |
| If found, the linked message; may be null. | |
| int32 | media_timestamp_ |
| Timestamp from which the video/audio/video note/voice note/story playing must start, in seconds; 0 if not specified. The media can be in the message content or in its web page preview. | |
| bool | for_album_ |
| True, if the whole media album to which the message belongs is linked. | |
Static Public Attributes | |
| static const std::int32_t | ID = 731315024 |
| Identifier uniquely determining a type of the object. | |
Contains information about a link to a message or a forum topic in a chat.
| td::td_api::messageLinkInfo::messageLinkInfo | ( | ) |
Contains information about a link to a message or a forum topic in a chat.
| td::td_api::messageLinkInfo::messageLinkInfo | ( | bool | is_public_, |
| int53 | chat_id_, | ||
| int53 | message_thread_id_, | ||
| object_ptr< message > && | message_, | ||
| int32 | media_timestamp_, | ||
| bool | for_album_ | ||
| ) |
Contains information about a link to a message or a forum topic in a chat.
| [in] | is_public_ | True, if the link is a public link for a message or a forum topic in a chat. |
| [in] | chat_id_ | If found, identifier of the chat to which the link points, 0 otherwise. |
| [in] | message_thread_id_ | If found, identifier of the message thread in which to open the message, or a forum topic to open if the message is missing. |
| [in] | message_ | If found, the linked message; may be null. |
| [in] | media_timestamp_ | Timestamp from which the video/audio/video note/voice note/story playing must start, in seconds; 0 if not specified. The media can be in the message content or in its web page preview. |
| [in] | for_album_ | True, if the whole media album to which the message belongs is linked. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.