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

TD.Query.GetUserLink

Synopsis

Documentation

data GetUserLink Source #

Returns an HTTPS link, which can be used to get information about the current user. Returns UserLink

Constructors

GetUserLink 

Fields

  • remove_messages_fee :: Maybe Bool

    Pass true to get a link, which allows other users to send unpaid messages to the current user. By default, a temporary link is returned in this case

  • return_permanent_link :: Maybe Bool

    Pass true to get a permanent link; ignored if remove_messages_fee is false. Can be used only if can_get_permanent_link is true in a previously received userLink

  • revoke_previous_links :: Maybe Bool

    Pass true to revoke previously created links, which allow other users to send unpaid messages to the current user; ignored if remove_messages_fee is false. If return_permanent_link is true, then the permanent link is revoked too; otherwise, only temporary links are revoked