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

Inherits InputStoryContent.

Description

A photo story.

Public Member Functions

 inputStoryContentPhoto ()
 inputStoryContentPhoto (object_ptr< InputFile > &&photo_, array< int32 > &&added_sticker_file_ids_)
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 photo, if applicable.
object_ptr< InputFile > photo_
 Photo to send. The photo must be at most 10 MB in size. The photo size must be 1080x1920.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ inputStoryContentPhoto() [1/2]

inputStoryContentPhoto ( )

A photo story.

◆ inputStoryContentPhoto() [2/2]

inputStoryContentPhoto ( object_ptr< InputFile > && photo_,
array< int32 > && added_sticker_file_ids_ )

A photo story.

Parameters
[in]photo_Photo to send. The photo must be at most 10 MB in size. The photo size must be 1080x1920.
[in]added_sticker_file_ids_File identifiers of the stickers added to the photo, if applicable.

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: