public static class TdApi.SetNewChatPrivacySettings extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.NewChatPrivacySettings |
settings
New settings.
|
| Constructor and Description |
|---|
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").
|
SetNewChatPrivacySettings(TdApi.NewChatPrivacySettings settings)
Creates a function, which changes privacy settings for new chat creation; can be used only if getOption("can_set_new_chat_privacy_settings").
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.NewChatPrivacySettings settings
public static final int CONSTRUCTOR
public SetNewChatPrivacySettings()
Returns Ok
public SetNewChatPrivacySettings(TdApi.NewChatPrivacySettings settings)
Returns Ok
settings - New settings.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object