haskell-tdlib-2.1.11.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

  • for_album :: Maybe Bool

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