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.



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

def big
  @big
end

#has_animationBoolean

True, if the photo has animated variant.



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

def has_animation
  @has_animation
end

#is_personalBoolean

True, if the photo is visible only for the current user.



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

def is_personal
  @is_personal
end

#minithumbnailTD::Types::Minithumbnail?

Chat photo minithumbnail; may be null.



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

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.



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

def small
  @small
end