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

TD.Data.AgeVerificationParameters

Documentation

data AgeVerificationParameters Source #

Constructors

AgeVerificationParameters

Describes parameters for age verification of the current user

Fields

  • min_age :: Maybe Int

    The minimum age required to view restricted content

  • verification_bot_username :: Maybe Text

    Username of the bot which main Web App may be used to verify age of the user

  • country :: Maybe Text

    Unique name for the country or region, which legislation required age verification. May be used to get the corresponding localization key