tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::chatPhotoInfo Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::chatPhotoInfo:
td::td_api::Object td::TlObject

Public Member Functions

 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 Member Functions inherited from td::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
 

Public Attributes

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.
 

Static Public Attributes

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

Detailed Description

Contains basic information about the photo of a chat.

Definition at line 14897 of file td_api.h.

Constructor & Destructor Documentation

◆ chatPhotoInfo() [1/2]

td::td_api::chatPhotoInfo::chatPhotoInfo ( )

Contains basic information about the photo of a chat.

◆ chatPhotoInfo() [2/2]

td::td_api::chatPhotoInfo::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.

Member Function Documentation

◆ store()

void td::td_api::chatPhotoInfo::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 td::TlObject.

Member Data Documentation

◆ big_

object_ptr<file> td::td_api::chatPhotoInfo::big_

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

Definition at line 14910 of file td_api.h.

◆ has_animation_

bool td::td_api::chatPhotoInfo::has_animation_

True, if the photo has animated variant.

Definition at line 14914 of file td_api.h.

◆ ID

const std::int32_t td::td_api::chatPhotoInfo::ID = 281195686
static

Identifier uniquely determining a type of the object.

Definition at line 14935 of file td_api.h.

◆ is_personal_

bool td::td_api::chatPhotoInfo::is_personal_

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

Definition at line 14916 of file td_api.h.

◆ minithumbnail_

object_ptr<minithumbnail> td::td_api::chatPhotoInfo::minithumbnail_

Chat photo minithumbnail; may be null.

Definition at line 14912 of file td_api.h.

◆ small_

object_ptr<file> td::td_api::chatPhotoInfo::small_

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

Definition at line 14908 of file td_api.h.


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