Class: TD::Types::ChatPhoto

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

Overview

Describes 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. The file can be downloaded only before the photo is changed.

Returns:



8
9
10
# File 'lib/tdlib/types/chat_photo.rb', line 8

def big
  @big
end

#smallTD::Types::File

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

Returns:



8
9
10
# File 'lib/tdlib/types/chat_photo.rb', line 8

def small
  @small
end