Class TdApi.SetStoryPrivacySettings
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.SetStoryPrivacySettings
- Enclosing class:
- TdApi
Changes privacy settings of a story. The method can be called only for stories posted on behalf of the current user and if story.canBeEdited == true.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The new privacy settigs for the story.int
Identifier of the story. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which changes privacy settings of a story.SetStoryPrivacySettings
(int storyId, TdApi.StoryPrivacySettings privacySettings) Creates a function, which changes privacy settings of a story. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
storyId
public int storyIdIdentifier of the story. -
privacySettings
The new privacy settigs for the story. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetStoryPrivacySettings
public SetStoryPrivacySettings()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.canBeEdited == true.Returns
Ok
-
SetStoryPrivacySettings
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.canBeEdited == true.Returns
Ok
- Parameters:
storyId
- Identifier of the story.privacySettings
- The new privacy settigs for the story.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-