Class TdApi.SetNewChatPrivacySettings
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.SetNewChatPrivacySettings
- Enclosing class:
- TdApi
Changes privacy settings for new chat creation; can be used only if getOption("can_set_new_chat_privacy_settings").
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.New settings. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which changes privacy settings for new chat creation; can be used only if getOption("can_set_new_chat_privacy_settings").Creates a function, which changes privacy settings for new chat creation; can be used only if getOption("can_set_new_chat_privacy_settings"). -
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
-
settings
New settings. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetNewChatPrivacySettings
public SetNewChatPrivacySettings()Default constructor for a function, which changes privacy settings for new chat creation; can be used only if getOption("can_set_new_chat_privacy_settings").Returns
Ok
-
SetNewChatPrivacySettings
Creates a function, which changes privacy settings for new chat creation; can be used only if getOption("can_set_new_chat_privacy_settings").Returns
Ok
- Parameters:
settings
- New settings.
-
-
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
-