TDLib
Loading...
Searching...
No Matches
td::td_api::inputStoryContentPhoto Class Referencefinal

Inherits td::td_api::InputStoryContent.

Public Member Functions

 inputStoryContentPhoto ()
 
 inputStoryContentPhoto (object_ptr< InputFile > &&photo_, array< int32 > &&added_sticker_file_ids_)
 
std::int32_t get_id () const final
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< InputFilephoto_
 Photo to send. The photo must be at most 10 MB in size. The photo size must be 1080x1920.
 
array< int32added_sticker_file_ids_
 File identifiers of the stickers added to the photo, if applicable.
 

Static Public Attributes

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

Detailed Description

A photo story.

Constructor & Destructor Documentation

◆ inputStoryContentPhoto() [1/2]

td::td_api::inputStoryContentPhoto::inputStoryContentPhoto ( )

A photo story.

◆ inputStoryContentPhoto() [2/2]

td::td_api::inputStoryContentPhoto::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

◆ get_id()

std::int32_t td::td_api::inputStoryContentPhoto::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

void td::td_api::inputStoryContentPhoto::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 td::TlObject.


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