Class: ChatbotHelper::Telegram::ResponseParameters
- Inherits:
-
BaseResource
- Object
- BaseResource
- ChatbotHelper::Telegram::ResponseParameters
- Defined in:
- lib/chatbot_helper/telegram/response_parameters.rb
Overview
The response_parameters resource which represents a Telegram bot API response_parameters
Instance Attribute Summary
Attributes inherited from BaseResource
Class Method Summary collapse
Methods inherited from BaseResource
#==, #initialize, optional_arrays, optional_objects, required_arrays, required_fields, required_objects, #to_s, valid_resource!, valid_resource?
Constructor Details
This class inherits a constructor from ChatbotHelper::Telegram::BaseResource
Class Method Details
.optional_fields ⇒ Object
7 8 9 |
# File 'lib/chatbot_helper/telegram/response_parameters.rb', line 7 def optional_fields %w[migrate_to_chat_id retry_after] end |