Class: ChatbotHelper::Telegram::KeyboardButtonCollection

Inherits:
CollectionResource show all
Defined in:
lib/chatbot_helper/telegram/keyboard_button.rb

Overview

A keyboard_button collection which represents an array of keyboard_button resources

Instance Attribute Summary

Attributes inherited from CollectionResource

#elements

Attributes inherited from BaseResource

#hash

Class Method Summary collapse

Methods inherited from CollectionResource

#each, #initialize, valid_resource?

Methods inherited from BaseResource

#==, #initialize, optional_arrays, optional_fields, optional_objects, required_arrays, required_fields, required_objects, #to_s, valid_resource!, valid_resource?

Constructor Details

This class inherits a constructor from ChatbotHelper::Telegram::CollectionResource

Class Method Details

.collection_typeObject



63
64
65
# File 'lib/chatbot_helper/telegram/keyboard_button.rb', line 63

def collection_type
  ChatbotHelper::Telegram::KeyboardButton
end