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::updateStoryPostFailed Class Referencefinal

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

Inheritance diagram for td::td_api::updateStoryPostFailed:
td::td_api::Update td::td_api::Object td::TlObject

Public Member Functions

 updateStoryPostFailed ()
 
 updateStoryPostFailed (object_ptr< story > &&story_, object_ptr< error > &&error_, object_ptr< CanPostStoryResult > &&error_type_)
 
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< storystory_
 The failed to post story.
 
object_ptr< errorerror_
 The cause of the story posting failure.
 
object_ptr< CanPostStoryResulterror_type_
 Type of the error; may be null if unknown.
 

Static Public Attributes

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

Detailed Description

A story failed to post. If the story posting is canceled, then updateStoryDeleted will be received instead of this update.

Definition at line 80425 of file td_api.h.

Constructor & Destructor Documentation

◆ updateStoryPostFailed() [1/2]

td::td_api::updateStoryPostFailed::updateStoryPostFailed ( )

A story failed to post. If the story posting is canceled, then updateStoryDeleted will be received instead of this update.

◆ updateStoryPostFailed() [2/2]

td::td_api::updateStoryPostFailed::updateStoryPostFailed ( object_ptr< story > &&  story_,
object_ptr< error > &&  error_,
object_ptr< CanPostStoryResult > &&  error_type_ 
)

A story failed to post. If the story posting is canceled, then updateStoryDeleted will be received instead of this update.

Parameters
[in]story_The failed to post story.
[in]error_The cause of the story posting failure.
[in]error_type_Type of the error; may be null if unknown.

Member Function Documentation

◆ store()

void td::td_api::updateStoryPostFailed::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

◆ error_

object_ptr<error> td::td_api::updateStoryPostFailed::error_

The cause of the story posting failure.

Definition at line 80438 of file td_api.h.

◆ error_type_

object_ptr<CanPostStoryResult> td::td_api::updateStoryPostFailed::error_type_

Type of the error; may be null if unknown.

Definition at line 80440 of file td_api.h.

◆ ID

const std::int32_t td::td_api::updateStoryPostFailed::ID = 1248168444
static

Identifier uniquely determining a type of the object.

Definition at line 80457 of file td_api.h.

◆ story_

object_ptr<story> td::td_api::updateStoryPostFailed::story_

The failed to post story.

Definition at line 80436 of file td_api.h.


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