|
TDLib
|
Inherits InputPaidMediaType.
The media is a photo. The photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.
Public Member Functions | |
| inputPaidMediaTypePhoto () | |
| inputPaidMediaTypePhoto (object_ptr< InputFile > &&video_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| object_ptr< InputFile > | video_ |
| Video of the live photo; pass null if the photo isn't a live photo. | |
Static Public Attributes | |
| static const std::int32_t | ID = 819520113 |
| Identifier uniquely determining a type of the object. | |
| inputPaidMediaTypePhoto | ( | ) |
The media is a photo. The photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.
|
explicit |
The media is a photo. The photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.
| [in] | video_ | Video of the live photo; pass null if the photo isn't a live photo. |
|
finalvirtual |