Class: TD::Types::InputChatPhoto::Static

Inherits:
TD::Types::InputChatPhoto show all
Defined in:
lib/tdlib/types/input_chat_photo/static.rb

Overview

A static photo in JPEG format.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#photoTD::Types::InputFile

Photo to be set as profile photo. Only TD::Types::InputFile::Local and TD::Types::InputFile::Generated are allowed.

Returns:



6
7
8
# File 'lib/tdlib/types/input_chat_photo/static.rb', line 6

def photo
  @photo
end