#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| 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.
|
| |
| 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.
|
| |
| 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 link preview.
|
| |
| int32 | checklist_task_id_ |
| | Identifier of the checklist task that is linked; 0 if none.
|
| |
| string | poll_option_id_ |
| | Identifier of the poll option that is linked; empty if none.
|
| |
| bool | for_album_ |
| | True, if the whole media album to which the message belongs is linked.
|
| |
|
| static const std::int32_t | ID = 1091360815 |
| | Identifier uniquely determining a type of the object.
|
| |
Contains information about a link to a message or a forum topic in a chat.
Definition at line 43846 of file td_api.h.
◆ messageLinkInfo() [1/2]
| td::td_api::messageLinkInfo::messageLinkInfo |
( |
| ) |
|
Contains information about a link to a message or a forum topic in a chat.
◆ messageLinkInfo() [2/2]
Contains information about a link to a message or a forum topic in a chat.
- Parameters
-
| [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. |
◆ store()
| void td::td_api::messageLinkInfo::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ chat_id_
| int53 td::td_api::messageLinkInfo::chat_id_ |
If found, identifier of the chat to which the link points, 0 otherwise.
Definition at line 43859 of file td_api.h.
◆ checklist_task_id_
| int32 td::td_api::messageLinkInfo::checklist_task_id_ |
Identifier of the checklist task that is linked; 0 if none.
Definition at line 43867 of file td_api.h.
◆ for_album_
| bool td::td_api::messageLinkInfo::for_album_ |
True, if the whole media album to which the message belongs is linked.
Definition at line 43871 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::messageLinkInfo::ID = 1091360815 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 43893 of file td_api.h.
◆ is_public_
| bool td::td_api::messageLinkInfo::is_public_ |
True, if the link is a public link for a message or a forum topic in a chat.
Definition at line 43857 of file td_api.h.
◆ media_timestamp_
| int32 td::td_api::messageLinkInfo::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.
Definition at line 43865 of file td_api.h.
◆ message_
If found, the linked message; may be null.
Definition at line 43863 of file td_api.h.
◆ poll_option_id_
| string td::td_api::messageLinkInfo::poll_option_id_ |
Identifier of the poll option that is linked; empty if none.
Definition at line 43869 of file td_api.h.
◆ 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.
Definition at line 43861 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h