List of all members | Public Fields | Public Instance Methods | Static Public Attributes
chatPhotoInfo Class Referencefinal

Inherits Object.

Description

Contains basic information about the photo of a chat.

Public Fields

object_ptr< filesmall_
 A small (160x160) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
 
object_ptr< filebig_
 A big (640x640) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
 
object_ptr< minithumbnailminithumbnail_
 Chat photo minithumbnail; may be null.
 
bool has_animation_
 True, if the photo has animated variant.
 
bool is_personal_
 True, if the photo is visible only for the current user.
 

Public Instance Methods

 chatPhotoInfo ()
 
 chatPhotoInfo (object_ptr< file > &&small_, object_ptr< file > &&big_, object_ptr< minithumbnail > &&minithumbnail_, bool has_animation_, bool is_personal_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = 281195686
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ chatPhotoInfo() [1/2]

Contains basic information about the photo of a chat.

◆ chatPhotoInfo() [2/2]

chatPhotoInfo ( object_ptr< file > &&  small_,
object_ptr< file > &&  big_,
object_ptr< minithumbnail > &&  minithumbnail_,
bool  has_animation_,
bool  is_personal_ 
)

Contains basic information about the photo of a chat.

Parameters
[in]small_A small (160x160) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
[in]big_A big (640x640) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
[in]minithumbnail_Chat photo minithumbnail; may be null.
[in]has_animation_True, if the photo has animated variant.
[in]is_personal_True, if the photo is visible only for the current user.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: