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

Inherits Object.

Description

Contains full information about a user profile photo.

Public Fields

int64 id_
 Unique user profile photo identifier.
 
int32 added_date_
 Point in time (Unix timestamp) when the photo has been added.
 
std::vector< object_ptr< photoSize > > sizes_
 Available variants of the user photo, in different sizes.
 

Public Instance Methods

 userProfilePhoto ()
 
 userProfilePhoto (int64 id_, int32 added_date_, std::vector< object_ptr< photoSize >> &&sizes_)
 
std::int32_t get_id () const final
 
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 = -1882596466
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ userProfilePhoto() [1/2]

Contains full information about a user profile photo.

◆ userProfilePhoto() [2/2]

userProfilePhoto ( int64  id_,
int32  added_date_,
std::vector< object_ptr< photoSize >> &&  sizes_ 
)

Contains full information about a user profile photo.

Parameters
[in]id_Unique user profile photo identifier.
[in]added_date_Point in time (Unix timestamp) when the photo has been added.
[in]sizes_Available variants of the user photo, in different sizes.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ 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: