Sha256: 25ec7227c06d1ec2c46e252c2291c56204d35b89e1781de8cef954b939c57ca8

Contents?: true

Size: 610 Bytes

Versions: 2

Compression:

Stored size: 610 Bytes

Contents

module TD::Types
  # Describes a user profile photo.
  #
  # @attr id [Integer] Photo identifier; 0 for an empty photo.
  #   Can be used to find a photo in a list of userProfilePhotos.
  # @attr small [TD::Types::File] A small (160x160) user profile photo.
  #   The file can be downloaded only before the photo is changed.
  # @attr big [TD::Types::File] A big (640x640) user profile photo.
  #   The file can be downloaded only before the photo is changed.
  class ProfilePhoto < Base
    attribute :id, TD::Types::Integer
    attribute :small, TD::Types::File
    attribute :big, TD::Types::File
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/profile_photo.rb
tdlib-ruby-2.1.0 lib/tdlib/types/profile_photo.rb