Class TdApi.KeyboardButtonTypeRequestManagedBot

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.KeyboardButtonType
org.drinkless.tdlib.TdApi.KeyboardButtonTypeRequestManagedBot
Enclosing class:
TdApi

public static class TdApi.KeyboardButtonTypeRequestManagedBot extends TdApi.KeyboardButtonType
A button that requests creation of a managed bot by the current user; available only in private chats. Use the method createBot to complete the request.
  • Field Details

    • id

      public int id
      Unique button identifier.
    • suggestedName

      public String suggestedName
      Suggested name for the bot; may be empty if not specified.
    • suggestedUsername

      public String suggestedUsername
      Suggested username for the bot; may be empty if not specified.
    • CONSTRUCTOR

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

    • KeyboardButtonTypeRequestManagedBot

      public KeyboardButtonTypeRequestManagedBot()
      A button that requests creation of a managed bot by the current user; available only in private chats. Use the method createBot to complete the request.
    • KeyboardButtonTypeRequestManagedBot

      public KeyboardButtonTypeRequestManagedBot(int id, String suggestedName, String suggestedUsername)
      A button that requests creation of a managed bot by the current user; available only in private chats. Use the method createBot to complete the request.
      Parameters:
      id - Unique button identifier.
      suggestedName - Suggested name for the bot; may be empty if not specified.
      suggestedUsername - Suggested username for the bot; may be empty if not specified.
  • Method Details