Skip to content

setStoryPrivacySettings

Function · TDLib 1.8.67 · d1085f9c

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_set_privacy_settings == true

setStoryPrivacySettings(
  story_id: int32,
  privacy_settings: StoryPrivacySettings
) → Ok

story_id

int32

Identifier of the story

privacy_settings

StoryPrivacySettings

The new privacy settings for the story