Class: Telegrammer::DataTypes::UserProfilePhotos

Inherits:
Base
  • Object
show all
Defined in:
lib/telegrammer/data_types/user_profile_photos.rb

Overview

Telegram UserProfilePhotos data type.

See more at core.telegram.org/bots/api#userprofilephotos

Instance Attribute Summary collapse

Instance Attribute Details

#photosTelegrammer::DataTypes::PhotoSize

Requested profile pictures (in up to 4 sizes each)

Returns:



9
10
11
# File 'lib/telegrammer/data_types/user_profile_photos.rb', line 9

def photos
  @photos
end

#total_countInteger

Total number of profile pictures the target user has

Returns:

  • (Integer)

    the current value of total_count



9
10
11
# File 'lib/telegrammer/data_types/user_profile_photos.rb', line 9

def total_count
  @total_count
end