|
TDLib
|
Inherits Object.
Contains information about a link to a message or a forum topic in a chat.
Public Member Functions | |
| messageLinkInfo () | |
| messageLinkInfo (bool is_public_, int53 chat_id_, object_ptr< MessageTopic > &&topic_id_, object_ptr< message > &&message_, int32 media_timestamp_, int32 checklist_task_id_, string const &poll_option_id_, bool for_album_) | |
| 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 | |
| int53 | chat_id_ |
| If found, identifier of the chat to which the link points, 0 otherwise. | |
| int32 | checklist_task_id_ |
| Identifier of the checklist task that is linked; 0 if none. | |
| bool | for_album_ |
| True, if the whole media album to which the message belongs is linked. | |
| bool | is_public_ |
| True, if the link is a public link for a message or a forum topic in a chat. | |
| 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 link preview. | |
| object_ptr< message > | message_ |
| If found, the linked message; may be null. | |
| string | poll_option_id_ |
| Identifier of the poll option that is linked; empty if none. | |
| object_ptr< MessageTopic > | topic_id_ |
| Identifier of the specific topic in which the message must be opened, or a topic to open if the message is missing; may be null if none. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1091360815 |
| Identifier uniquely determining a type of the object. | |
| messageLinkInfo | ( | ) |
Contains information about a link to a message or a forum topic in a chat.
| messageLinkInfo | ( | bool | is_public_, |
| int53 | chat_id_, | ||
| object_ptr< MessageTopic > && | topic_id_, | ||
| object_ptr< message > && | message_, | ||
| int32 | media_timestamp_, | ||
| int32 | checklist_task_id_, | ||
| string const & | poll_option_id_, | ||
| 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] | topic_id_ | Identifier of the specific topic in which the message must be opened, or a topic to open if the message is missing; may be null if none. |
| [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 link preview. |
| [in] | checklist_task_id_ | Identifier of the checklist task that is linked; 0 if none. |
| [in] | poll_option_id_ | Identifier of the poll option that is linked; empty if none. |
| [in] | for_album_ | True, if the whole media album to which the message belongs is linked. |
|
finalvirtual |