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

Inherits Update.

Description

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

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 updateStoryPostFailed ()
 updateStoryPostFailed (object_ptr< story > &&story_, object_ptr< error > &&error_, object_ptr< CanPostStoryResult > &&error_type_)
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

object_ptr< error > error_
 The cause of the story posting failure.
object_ptr< CanPostStoryResult > error_type_
 Type of the error; may be null if unknown.
object_ptr< story > story_
 The failed to post story.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ updateStoryPostFailed() [1/2]

updateStoryPostFailed ( )

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

◆ updateStoryPostFailed() [2/2]

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