Package org.drinkless.tdlib
Class TdApi.KeyboardButtonTypeRequestManagedBot
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.KeyboardButtonType
org.drinkless.tdlib.TdApi.KeyboardButtonTypeRequestManagedBot
- Enclosing class:
TdApi
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.KeyboardButtonType
TdApi.KeyboardButtonType.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intUnique button identifier.Suggested name for the bot; may be empty if not specified.Suggested username for the bot; may be empty if not specified. -
Constructor Summary
ConstructorsConstructorDescriptionA button that requests creation of a managed bot by the current user; available only in private chats.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. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
id
public int idUnique 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.KeyboardButtonType- Returns:
- this.CONSTRUCTOR
-