accept_terms_of_service()#

Client.accept_terms_of_service()[source]#

Accept the given terms of service.

Usable by Users Bots
Parameters:

terms_of_service_id (str) – The terms of service identifier.

Raises:

RPCError – In case of a Telegram RPC error.