Interface SetStoryPrivacySettings

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. Request type for Tdjson#setStoryPrivacySettings.

interface SetStoryPrivacySettings {
    @type: "setStoryPrivacySettings";
    privacy_settings: StoryPrivacySettings;
    story_id: number;
}

Properties

@type: "setStoryPrivacySettings"
privacy_settings: StoryPrivacySettings

The new privacy settigs for the story.

story_id: number

Identifier of the story.