tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InputProfilePhotoAnimated Struct Reference

An animated profile photo in the MPEG4 format. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputProfilePhotoAnimated>

Public Attributes

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.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

An animated profile photo in the MPEG4 format.

Definition at line 7179 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7180 of file Types.h.

Member Data Documentation

◆ 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

Definition at line 7182 of file Types.h.

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