Sha256: f4d69433f699a104be94448f55e9c9442980dd4d598835c0d83bfe2150e2a6c8

Contents?: true

Size: 862 Bytes

Versions: 1

Compression:

Stored size: 862 Bytes

Contents

module TD::Types
  # Describes a chat or user profile photo.
  #
  # @attr id [Integer] Unique photo identifier.
  # @attr added_date [Integer] Point in time (Unix timestamp) when the photo has been added.
  # @attr minithumbnail [TD::Types::Minithumbnail, nil] Photo minithumbnail; may be null.
  # @attr sizes [Array<TD::Types::PhotoSize>] Available variants of the photo in JPEG format, in different size.
  # @attr animation [TD::Types::AnimatedChatPhoto, nil] Animated variant of the photo in MPEG4 format; may be null.
  class ChatPhoto < Base
    attribute :id, TD::Types::Integer
    attribute :added_date, TD::Types::Integer
    attribute :minithumbnail, TD::Types::Minithumbnail.optional.default(nil)
    attribute :sizes, TD::Types::Array.of(TD::Types::PhotoSize)
    attribute :animation, TD::Types::AnimatedChatPhoto.optional.default(nil)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/chat_photo.rb