tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::inputStoryContentPhoto Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::inputStoryContentPhoto:
td::td_api::InputStoryContent td::td_api::Object td::TlObject

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 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.

Definition at line 31994 of file td_api.h.

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

◆ 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.

Member Data Documentation

◆ added_sticker_file_ids_

array<int32> td::td_api::inputStoryContentPhoto::added_sticker_file_ids_

File identifiers of the stickers added to the photo, if applicable.

Definition at line 32007 of file td_api.h.

◆ ID

const std::int32_t td::td_api::inputStoryContentPhoto::ID = -309196727
static

Identifier uniquely determining a type of the object.

Definition at line 32023 of file td_api.h.

◆ photo_

object_ptr<InputFile> td::td_api::inputStoryContentPhoto::photo_

Photo to send. The photo must be at most 10 MB in size. The photo size must be 1080x1920.

Definition at line 32005 of file td_api.h.


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