class Telebot::UserProfilePhotos

This object represent a user's profile pictures.

Attributes

photos[R]

Requested profile pictures (in up to 4 sizes each)

Public Instance Methods

photos=(values) click to toggle source

Assign Array of Array of PhotoSize

@param values [Array<Array<PhotoSize>>]

# File lib/telebot/objects/user_profile_photos.rb, line 15
def photos=(values)
  @photos = values.map do |photo|
    photo.map do |photo_size_attrs|
      PhotoSize.new(photo_size_attrs)
    end
  end
end