Class: TD::Types::Update::TermsOfService
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::TermsOfService
- Defined in:
- lib/tdlib/types/update/terms_of_service.rb
Overview
New terms of service must be accepted by the user. If the terms of service are declined, then the deleteAccount method should be called with the reason "Decline ToS update".
Instance Attribute Summary collapse
-
#terms_of_service ⇒ TD::Types::TermsOfService
The new terms of service.
-
#terms_of_service_id ⇒ String
Identifier of the terms of service.
Method Summary
Methods inherited from Base
Instance Attribute Details
#terms_of_service ⇒ TD::Types::TermsOfService
The new terms of service.
8 9 10 |
# File 'lib/tdlib/types/update/terms_of_service.rb', line 8 def terms_of_service @terms_of_service end |
#terms_of_service_id ⇒ String
Identifier of the terms of service.
8 9 10 |
# File 'lib/tdlib/types/update/terms_of_service.rb', line 8 def terms_of_service_id @terms_of_service_id end |