class Telecr::Types::PollOption

Defined in:

api/types.cr

Constructors

Instance Method Summary

Instance methods inherited from class Telecr::Types::BaseType

inspect(io : IO) : Nil inspect, to_h : Hash(String, JSON::Any) to_h

Constructor methods inherited from class Telecr::Types::BaseType

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def persistent_id : String | Nil #

[View source]
def persistent_id=(persistent_id : String | Nil) #

[View source]
def text : String #

[View source]
def text=(text : String) #

[View source]
def voter_count : Int32 #

[View source]
def voter_count=(voter_count : Int32) #

[View source]