TermsOfService

class pyrogram.raw.types.help.TermsOfService

Info about the latest telegram Terms Of Service.

Constructor type of TermsOfService.

Details
  • Layer: 126

  • ID: 0x780a0310

Parameters
  • id (DataJSON) – ID of the new terms.

  • text (str) – Text of the new terms.

  • entities (List of MessageEntity) – Message entities for styled text.

  • popup (bool, optional) – Whether a prompt must be showed to the user, in order to accept the new terms.

  • min_age_confirm (int 32-bit, optional) – Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.