TDLib
Loading...
Searching...
No Matches
inputAnimation Class Referencefinal

Inherits Object.

Description

An animation to be sent.

Public Member Functions

 inputAnimation ()
 inputAnimation (object_ptr< InputFile > &&animation_, object_ptr< inputThumbnail > &&thumbnail_, array< int32 > &&added_sticker_file_ids_, int32 duration_, int32 width_, int32 height_)
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

array< int32 > added_sticker_file_ids_
 File identifiers of the stickers added to the animation, if applicable.
object_ptr< InputFile > animation_
 Animation file to be sent.
int32 duration_
 Duration of the animation, in seconds; may be replaced by the server.
int32 height_
 Height of the animation; may be replaced by the server.
object_ptr< inputThumbnail > thumbnail_
 Animation thumbnail; pass null to skip thumbnail uploading.
int32 width_
 Width of the animation; may be replaced by the server.

Static Public Attributes

static const std::int32_t ID = -1927212171
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ inputAnimation() [1/2]

inputAnimation ( )

An animation to be sent.

◆ inputAnimation() [2/2]

inputAnimation ( object_ptr< InputFile > && animation_,
object_ptr< inputThumbnail > && thumbnail_,
array< int32 > && added_sticker_file_ids_,
int32 duration_,
int32 width_,
int32 height_ )

An animation to be sent.

Parameters
[in]animation_Animation file to be sent.
[in]thumbnail_Animation thumbnail; pass null to skip thumbnail uploading.
[in]added_sticker_file_ids_File identifiers of the stickers added to the animation, if applicable.
[in]duration_Duration of the animation, in seconds; may be replaced by the server.
[in]width_Width of the animation; may be replaced by the server.
[in]height_Height of the animation; may be replaced by the server.

Member Function Documentation

◆ store()

void 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: