help.TermsOfService

class pyrogram.raw.types.help.TermsOfService

Info about the latest telegram Terms Of Service

Constructor of TermsOfService.

Details:
  • Layer: 187

  • ID: 780A0310

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.