|
TDLib
|
Inherits DraftMessageContent.
A video note message draft.
Public Member Functions | |
| draftMessageContentVideoNote () | |
| draftMessageContentVideoNote (string const &file_path_, int32 duration_, int32 length_, object_ptr< MessageSelfDestructType > &&self_destruct_type_) | |
| 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 | |
| int32 | duration_ |
| Duration of the video, in seconds; 0-60. | |
| string | file_path_ |
| Path to the file with the video note. | |
| int32 | length_ |
| Video width and height; must be positive and not greater than 640. | |
| object_ptr< MessageSelfDestructType > | self_destruct_type_ |
| Video note self-destruct type; may be null if none; pass null if none; private chats only. | |
Static Public Attributes | |
| static const std::int32_t | ID = 338124851 |
| Identifier uniquely determining a type of the object. | |
| draftMessageContentVideoNote | ( | ) |
A video note message draft.
| draftMessageContentVideoNote | ( | string const & | file_path_, |
| int32 | duration_, | ||
| int32 | length_, | ||
| object_ptr< MessageSelfDestructType > && | self_destruct_type_ ) |
A video note message draft.
| [in] | file_path_ | Path to the file with the video note. |
| [in] | duration_ | Duration of the video, in seconds; 0-60. |
| [in] | length_ | Video width and height; must be positive and not greater than 640. |
| [in] | self_destruct_type_ | Video note self-destruct type; may be null if none; pass null if none; private chats only. |
|
finalvirtual |