Class: Telegram::Bot::Types::UserProfilePhotos

Inherits:
Object
  • Object
show all
Defined in:
lib/telegram/bot/types/user_profile_photos.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ UserProfilePhotos

Returns a new instance of UserProfilePhotos.



6
7
8
# File 'lib/telegram/bot/types/user_profile_photos.rb', line 6

def initialize(attributes)
  attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k }
end

Instance Attribute Details

#photosObject

Returns the value of attribute photos.



3
4
5
# File 'lib/telegram/bot/types/user_profile_photos.rb', line 3

def photos
  @photos
end

#total_countObject

Returns the value of attribute total_count.



3
4
5
# File 'lib/telegram/bot/types/user_profile_photos.rb', line 3

def total_count
  @total_count
end