haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.GetMessageLink

Synopsis

Documentation

data GetMessageLink Source #

Returns an HTTPS link to a message in a chat. Available only if messageProperties.can_get_link, or if messageProperties.can_get_media_timestamp_links and a media timestamp link is generated. This is an offline request. Returns MessageLink

Constructors

GetMessageLink 

Fields

  • chat_id :: Maybe Int

    Identifier of the chat to which the message belongs

  • message_id :: Maybe Int

    Identifier of the message

  • media_timestamp :: Maybe Int

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

  • for_album :: Maybe Bool

    Pass true to create a link for the whole media album

  • in_message_thread :: Maybe Bool

    Pass true to create a link to the message as a channel post comment, in a message thread, or a forum topic