API::V2::Serializers::Instance::Configuration::Polls
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(max_options : Int32, max_characters_per_option : Int32, min_expiration : Int32, max_expiration : Int32)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
max_characters_per_option
Sourcemax_characters_per_option=(max_characters_per_option : Int32)
Sourcemax_expiration
Sourcemax_expiration=(max_expiration : Int32)
Sourcemax_options
Sourcemax_options=(max_options : Int32)
Sourcemin_expiration
Sourcemin_expiration=(min_expiration : Int32)
Source