haskell-tdlib-2.0.47.0
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

  • message_thread_id :: Maybe Int

    If found, identifier of the message thread in which to open the message, or a forum topic to open if the message is missing

  • 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

  • for_album :: Maybe Bool

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