Class TdApi.SetBusinessConnectedBot

Enclosing class:
TdApi

public static class TdApi.SetBusinessConnectedBot extends TdApi.Function<TdApi.Ok>
Adds or changes business bot that is connected to the current user account.

Returns Ok

  • Field Details

  • Constructor Details

    • SetBusinessConnectedBot

      public SetBusinessConnectedBot()
      Default constructor for a function, which adds or changes business bot that is connected to the current user account.

      Returns Ok

    • SetBusinessConnectedBot

      public SetBusinessConnectedBot(TdApi.BusinessConnectedBot bot)
      Creates a function, which adds or changes business bot that is connected to the current user account.

      Returns Ok

      Parameters:
      bot - Connection settings for the bot.
  • 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