Package org.drinkless.tdlib
Class TdApi.UpdateManagedBot
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Update
org.drinkless.tdlib.TdApi.UpdateManagedBot
- Enclosing class:
TdApi
A bot that can be managed by the current bot was created or updated; for bots only.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Update
TdApi.Update.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the created managed bot.static final intIdentifier uniquely determining type of the object.longIdentifier of the user who created the bot. -
Constructor Summary
ConstructorsConstructorDescriptionA bot that can be managed by the current bot was created or updated; for bots only.UpdateManagedBot(long userId, long botUserId) A bot that can be managed by the current bot was created or updated; for bots only. -
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
-
userId
public long userIdIdentifier of the user who created the bot. -
botUserId
public long botUserIdIdentifier of the created managed bot. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateManagedBot
public UpdateManagedBot()A bot that can be managed by the current bot was created or updated; for bots only. -
UpdateManagedBot
public UpdateManagedBot(long userId, long botUserId) A bot that can be managed by the current bot was created or updated; for bots only.- Parameters:
userId- Identifier of the user who created the bot.botUserId- Identifier of the created managed bot.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Update- Returns:
- this.CONSTRUCTOR
-