haskell-tdlib-2.1.15.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.MessageLinkInfo

Documentation

data MessageLinkInfo Source #

Constructors

MessageLinkInfo

Contains information about a link to a message or a forum topic in a chat

Fields

  • is_public :: Maybe Bool

    True, if the link is a public link for a message or a forum topic in a chat

  • chat_id :: Maybe Int

    If found, identifier of the chat to which the link points, 0 otherwise

  • topic_id :: Maybe MessageTopic

    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

  • message :: Maybe Message

    If found, the linked message; may be null

  • media_timestamp :: Maybe Int

    Timestamp from which the videoaudiovideo notevoice notestory playing must start, in seconds; 0 if not specified. The media can be in the message content or in its link preview

  • checklist_task_id :: Maybe Int

    Identifier of the checklist task that is linked; 0 if none

  • poll_option_id :: Maybe Text

    Identifier of the poll option that is linked; empty if none

  • for_album :: Maybe Bool

    True, if the whole media album to which the message belongs is linked