List of all members | Public Fields | Public Instance Methods | Static Public Attributes
inputStoryContentPhoto Class Referencefinal

Inherits InputStoryContent.

Description

A photo story.

Public Fields

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.
 

Public Instance Methods

 inputStoryContentPhoto ()
 
 inputStoryContentPhoto (object_ptr< InputFile > &&photo_, array< int32 > &&added_sticker_file_ids_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ inputStoryContentPhoto() [1/2]

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.

Method 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: