Class: TD::Types::ChatPhotoInfo

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

Overview

Contains basic information about the photo of a chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#bigTD::Types::File

A big (640x640) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.

Returns:



10
11
12
# File 'lib/tdlib/types/chat_photo_info.rb', line 10

def big
  @big
end

#has_animationBoolean

True, if the photo has animated variant.

Returns:

  • (Boolean)

    the current value of has_animation



10
11
12
# File 'lib/tdlib/types/chat_photo_info.rb', line 10

def has_animation
  @has_animation
end

#minithumbnailTD::Types::Minithumbnail?

Chat photo minithumbnail; may be null.

Returns:



10
11
12
# File 'lib/tdlib/types/chat_photo_info.rb', line 10

def minithumbnail
  @minithumbnail
end

#smallTD::Types::File

A small (160x160) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.

Returns:



10
11
12
# File 'lib/tdlib/types/chat_photo_info.rb', line 10

def small
  @small
end