Class: ChatbotHelper::Telegram::ResponseParameters

Inherits:
BaseResource
  • Object
show all
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

#hash

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_fieldsObject



7
8
9
# File 'lib/chatbot_helper/telegram/response_parameters.rb', line 7

def optional_fields
  %w[migrate_to_chat_id retry_after]
end