Class: Telegem::Types::PollOption
Instance Attribute Summary
Attributes inherited from BaseType
Instance Method Summary collapse
-
#initialize(data) ⇒ PollOption
constructor
A new instance of PollOption.
Methods inherited from BaseType
#inspect, #method_missing, #respond_to_missing?, #to_h, #to_s
Constructor Details
#initialize(data) ⇒ PollOption
Returns a new instance of PollOption.
544 545 546 547 548 549 |
# File 'lib/api/types.rb', line 544 def initialize(data) super(data) # Bot API 9.6 enhancements wrap('added_by_user', User) wrap('added_by_chat', Chat) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Telegem::Types::BaseType