Sha256: 5501a67f6763523c795fd12ba64ca7cf1132b5c351adf4979027ba569f2c1f64
Contents?: true
Size: 924 Bytes
Versions: 2
Compression:
Stored size: 924 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 user profile photos. # @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. # @attr minithumbnail [TD::Types::Minithumbnail, nil] User profile photo minithumbnail; may be null. # @attr has_animation [Boolean] True, if the photo has animated variant. class ProfilePhoto < Base attribute :id, TD::Types::Coercible::Integer attribute :small, TD::Types::File attribute :big, TD::Types::File attribute :minithumbnail, TD::Types::Minithumbnail.optional.default(nil) attribute :has_animation, TD::Types::Bool end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/profile_photo.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/profile_photo.rb |