An animated profile photo in the MPEG4 format.
More...
#include <Types.h>
|
| std::string | type { TYPE } |
| | Type of the profile photo, must be animated.
|
| std::string | animation { } |
| | The animated profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
|
| std::optional< double > | mainFrameTimestamp { } |
| | Optional. Timestamp in seconds of the frame that will be used as the static profile photo. Defaults to 0.0.
|
An animated profile photo in the MPEG4 format.
Definition at line 7179 of file Types.h.
◆ Ptr
◆ animation
| std::string TgBot::InputProfilePhotoAnimated::animation { } |
The animated profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
Definition at line 7194 of file Types.h.
◆ mainFrameTimestamp
| std::optional<double> TgBot::InputProfilePhotoAnimated::mainFrameTimestamp { } |
Optional. Timestamp in seconds of the frame that will be used as the static profile photo. Defaults to 0.0.
Definition at line 7200 of file Types.h.
◆ TYPE
| TGBOT_API const std::string TgBot::InputProfilePhotoAnimated::TYPE |
|
static |
◆ type
| std::string TgBot::InputProfilePhotoAnimated::type { TYPE } |
Type of the profile photo, must be animated.
Definition at line 7187 of file Types.h.
The documentation for this struct was generated from the following file: