Class: Telegem::Types::ChatMemberRestricted
- Inherits:
-
ChatMember
- Object
- BaseType
- ChatMember
- Telegem::Types::ChatMemberRestricted
- Defined in:
- lib/api/types.rb
Instance Attribute Summary
Attributes inherited from BaseType
Instance Method Summary collapse
-
#initialize(data) ⇒ ChatMemberRestricted
constructor
A new instance of ChatMemberRestricted.
Methods inherited from BaseType
#inspect, #method_missing, #respond_to_missing?, #to_h, #to_s
Constructor Details
#initialize(data) ⇒ ChatMemberRestricted
Returns a new instance of ChatMemberRestricted.
596 597 598 599 600 |
# File 'lib/api/types.rb', line 596 def initialize(data) super(data) # Bot API 10.0 - reaction support define_accessor(:can_react_to_messages) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Telegem::Types::BaseType