Class: TD::Types::UserProfilePhoto

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/user_profile_photo.rb

Overview

Contains full information about a user profile photo.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#added_dateInteger

Point in time (Unix timestamp) when the photo has been added.

Returns:

  • (Integer)

    the current value of added_date



7
8
9
# File 'lib/tdlib/types/user_profile_photo.rb', line 7

def added_date
  @added_date
end

#idInteger

Unique user profile photo identifier.

Returns:

  • (Integer)

    the current value of id



7
8
9
# File 'lib/tdlib/types/user_profile_photo.rb', line 7

def id
  @id
end

#sizesArray<TD::Types::PhotoSize>

Available variants of the user photo, in different sizes.

Returns:



7
8
9
# File 'lib/tdlib/types/user_profile_photo.rb', line 7

def sizes
  @sizes
end