Class TdApi.SetManagedBotAccessSettings

Enclosing class:
TdApi

public static class TdApi.SetManagedBotAccessSettings extends TdApi.Function<TdApi.Ok>
Sets access settings of a managed bot; for bots only.

Returns Ok

  • Field Details

    • botUserId

      public long botUserId
      Identifier of the managed bot.
    • settings

      public TdApi.BotAccessSettings settings
      New access settings.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • SetManagedBotAccessSettings

      public SetManagedBotAccessSettings()
      Default constructor for a function, which sets access settings of a managed bot; for bots only.

      Returns Ok

    • SetManagedBotAccessSettings

      public SetManagedBotAccessSettings(long botUserId, TdApi.BotAccessSettings settings)
      Creates a function, which sets access settings of a managed bot; for bots only.

      Returns Ok

      Parameters:
      botUserId - Identifier of the managed bot.
      settings - New access 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.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR