Class: TD::Types::TermsOfService
- Defined in:
- lib/tdlib/types/terms_of_service.rb
Overview
Contains Telegram terms of service.
Instance Attribute Summary collapse
-
#min_user_age ⇒ Integer
The minimum age of a user to be able to accept the terms; 0 if any.
-
#show_popup ⇒ Boolean
True, if a blocking popup with terms of service must be shown to the user.
-
#text ⇒ TD::Types::FormattedText
Text of the terms of service.
Method Summary
Methods inherited from Base
Instance Attribute Details
#min_user_age ⇒ Integer
The minimum age of a user to be able to accept the terms; 0 if any.
7 8 9 |
# File 'lib/tdlib/types/terms_of_service.rb', line 7 def min_user_age @min_user_age end |
#show_popup ⇒ Boolean
True, if a blocking popup with terms of service must be shown to the user.
7 8 9 |
# File 'lib/tdlib/types/terms_of_service.rb', line 7 def show_popup @show_popup end |
#text ⇒ TD::Types::FormattedText
Text of the terms of service.
7 8 9 |
# File 'lib/tdlib/types/terms_of_service.rb', line 7 def text @text end |