help.AcceptTermsOfService

class pyrogram.raw.functions.help.AcceptTermsOfService

Accept the new terms of service

Details:
  • Layer: 223

  • ID: EE72F79A

Parameters:

id (DataJSON) – ID of terms of service

Returns:

bool

TL Schema

help.acceptTermsOfService#ee72f79a
id:DataJSON

= Bool

Parameter Tree

AcceptTermsOfService
└── idDataJSON
└── DataJSON
└── datastring

Example

await app.invoke(
    AcceptTermsOfService(
        id=DataJSON(data="text"),
    )
)