#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| int64 | id_ |
| | Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of user profile photos.
|
| |
| object_ptr< file > | small_ |
| | A small (160x160) user profile photo. The file can be downloaded only before the photo is changed.
|
| |
| object_ptr< file > | big_ |
| | A big (640x640) user profile photo. The file can be downloaded only before the photo is changed.
|
| |
| object_ptr< minithumbnail > | minithumbnail_ |
| | User profile 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 const std::int32_t | ID = -1025754018 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes a user profile photo.
Definition at line 55353 of file td_api.h.
◆ profilePhoto() [1/2]
| td::td_api::profilePhoto::profilePhoto |
( |
| ) |
|
Describes a user profile photo.
◆ profilePhoto() [2/2]
Describes a user profile photo.
- Parameters
-
| [in] | id_ | Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of user profile photos. |
| [in] | small_ | A small (160x160) user profile photo. The file can be downloaded only before the photo is changed. |
| [in] | big_ | A big (640x640) user profile photo. The file can be downloaded only before the photo is changed. |
| [in] | minithumbnail_ | User profile 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. |
◆ store()
| void td::td_api::profilePhoto::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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ big_
A big (640x640) user profile photo. The file can be downloaded only before the photo is changed.
Definition at line 55368 of file td_api.h.
◆ has_animation_
| bool td::td_api::profilePhoto::has_animation_ |
True, if the photo has animated variant.
Definition at line 55372 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::profilePhoto::ID = -1025754018 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 55394 of file td_api.h.
◆ id_
| int64 td::td_api::profilePhoto::id_ |
Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of user profile photos.
Definition at line 55364 of file td_api.h.
◆ is_personal_
| bool td::td_api::profilePhoto::is_personal_ |
True, if the photo is visible only for the current user.
Definition at line 55374 of file td_api.h.
◆ minithumbnail_
User profile photo minithumbnail; may be null.
Definition at line 55370 of file td_api.h.
◆ small_
A small (160x160) user profile photo. The file can be downloaded only before the photo is changed.
Definition at line 55366 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h