# Uses of Class
it.tdlight.jni.TdApi.StoryPrivacySettings

## Uses of TdApi.StoryPrivacySettings in it.tdlight.jni

Subclasses of TdApi.StoryPrivacySettings in it.tdlight.jni
Modifier and Type
Class
Description
`static final class`
`TdApi.StoryPrivacySettingsCloseFriends`
The story can be viewed by all close friends.
`static final class`
`TdApi.StoryPrivacySettingsContacts`
The story can be viewed by all contacts except chosen users.
`static final class`
`TdApi.StoryPrivacySettingsEveryone`
The story can be viewed by everyone.
`static final class`
`TdApi.StoryPrivacySettingsSelectedUsers`
The story can be viewed by certain specified users.
Fields in it.tdlight.jni declared as TdApi.StoryPrivacySettings
Modifier and Type
Field
Description
`TdApi.StoryPrivacySettings`
TdApi.SendStory.`privacySettings`
The privacy settings for the story; ignored for stories sent to supergroup and channel chats.
`TdApi.StoryPrivacySettings`
TdApi.SetStoryPrivacySettings.`privacySettings`
The new privacy settigs for the story.
`TdApi.StoryPrivacySettings`
TdApi.Story.`privacySettings`
Privacy rules affecting story visibility; may be approximate for non-owned stories.
Constructors in it.tdlight.jni with parameters of type TdApi.StoryPrivacySettings
Modifier
Constructor
Description
``
`SendStory(long chatId, TdApi.InputStoryContent content, TdApi.InputStoryAreas areas, TdApi.FormattedText caption, TdApi.StoryPrivacySettings privacySettings, int activePeriod, TdApi.StoryFullId fromStoryFullId, boolean isPinned, boolean protectContent)`
Sends a new story to a chat; requires canPostStories right for supergroup and channel chats.
``
`SetStoryPrivacySettings(int storyId, TdApi.StoryPrivacySettings privacySettings)`
Changes privacy settings of a story.
``
`Story(int id, long senderChatId, TdApi.MessageSender senderId, int date, boolean isBeingSent, boolean isBeingEdited, boolean isEdited, boolean isPinned, boolean isVisibleOnlyForSelf, boolean canBeDeleted, boolean canBeEdited, boolean canBeForwarded, boolean canBeReplied, boolean canToggleIsPinned, boolean canGetStatistics, boolean canGetInteractions, boolean hasExpiredViewers, TdApi.StoryRepostInfo repostInfo, TdApi.StoryInteractionInfo interactionInfo, TdApi.ReactionType chosenReactionType, TdApi.StoryPrivacySettings privacySettings, TdApi.StoryContent content, TdApi.StoryArea[] areas, TdApi.FormattedText caption)`
Represents a story.