Class TdApi.SetNewChatPrivacySettings

Enclosing class:
TdApi

public static class TdApi.SetNewChatPrivacySettings extends TdApi.Function<TdApi.Ok>
Changes privacy settings for new chat creation; can be used only if getOption("can_set_new_chat_privacy_settings").

Returns Ok

  • Field Details

  • 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

      public 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").

      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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR