class
TD::PushMessageContent::Poll
- TD::PushMessageContent::Poll
- TD::PushMessageContent
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/push_message_content/poll.crConstructors
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
- .new(question : String, is_regular : Bool = false, is_pinned : Bool = false)
Instance Method Summary
- #is_pinned : Bool
- #is_pinned=(is_pinned : Bool)
- #is_regular : Bool
- #is_regular=(is_regular : Bool)
- #object_type : String
- #object_type=(object_type : String)
- #question : String
- #question=(question : String)