Class: ChatbotHelper::Telegram::UserProfilePhotos
- Inherits:
-
BaseResource
- Object
- BaseResource
- ChatbotHelper::Telegram::UserProfilePhotos
- Defined in:
- lib/chatbot_helper/telegram/user_profile_photos.rb
Overview
The user_profile_photos resource which represents a Telegram bot API user_profile_photos
Instance Attribute Summary
Attributes inherited from BaseResource
Class Method Summary collapse
Methods inherited from BaseResource
#==, #initialize, optional_arrays, optional_fields, optional_objects, required_objects, #to_s, valid_resource!, valid_resource?
Constructor Details
This class inherits a constructor from ChatbotHelper::Telegram::BaseResource
Class Method Details
.required_arrays ⇒ Object
11 12 13 14 15 16 |
# File 'lib/chatbot_helper/telegram/user_profile_photos.rb', line 11 def required_arrays [ { name: 'photos', type: ChatbotHelper::Telegram::PhotoSizeCollection } ] end |
.required_fields ⇒ Object
7 8 9 |
# File 'lib/chatbot_helper/telegram/user_profile_photos.rb', line 7 def required_fields %w[total_count] end |