Skip to content

AgeVerificationParameters

Type · TDLib 1.8.67 · d1085f9c

Describes parameters for age verification of the current user

AgeVerificationParameters(
  min_age: int32,
  verification_bot_username: string,
  country: string
) → AgeVerificationParameters

min_age

int32

The minimum age required to view restricted content

verification_bot_username

string

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

country

string

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