Package org.drinkless.tdlib
Class 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
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The new privacy settings for the story.intIdentifier of the story. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
storyId
public int storyIdIdentifier of the story. -
privacySettings
The new privacy settings 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 settings for the story.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-