class
TD::TermsOfService
- TD::TermsOfService
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/terms_of_service.crConstructors
- .new(text : TD::FormattedText, min_user_age : Int32, show_popup : Bool = false)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #min_user_age : Int32
- #min_user_age=(min_user_age : Int32)
- #object_type : String
- #object_type=(object_type : String)
- #show_popup : Bool
- #show_popup=(show_popup : Bool)
- #text : TD::FormattedText
- #text=(text : TD::FormattedText)