Inherits Function.
Changes privacy settings of a story. The method can be called only for stories posted on behalf of the current user and if story.can_be_edited == true.
Returns object_ptr<Ok>.
Public Fields | |
| int32 | story_id_ |
| Identifier of the story. | |
| object_ptr< StoryPrivacySettings > | privacy_settings_ |
| The new privacy settings for the story. | |
Public Types | |
| using | ReturnType = object_ptr< ok > |
| Typedef for the type returned by the function. | |
Public Instance Methods | |
| setStoryPrivacySettings () | |
| setStoryPrivacySettings (int32 story_id_, object_ptr< StoryPrivacySettings > &&privacy_settings_) | |
| 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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = -655801550 |
| Identifier uniquely determining a type of the object. | |
Default constructor for a function, which changes privacy settings of a story. The method can be called only for stories posted on behalf of the current user and if story.can_be_edited == true.
Returns object_ptr<Ok>.
| setStoryPrivacySettings | ( | int32 | story_id_, |
| object_ptr< StoryPrivacySettings > && | privacy_settings_ | ||
| ) |
Creates a function, which changes privacy settings of a story. The method can be called only for stories posted on behalf of the current user and if story.can_be_edited == true.
Returns object_ptr<Ok>.
| [in] | story_id_ | Identifier of the story. |
| [in] | privacy_settings_ | The new privacy settings for the story. |
|
finalvirtual |