Class TdApi.UpdateManagedBot

Enclosing class:
TdApi

public static class TdApi.UpdateManagedBot extends TdApi.Update
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

    Fields
    Modifier and Type
    Field
    Description
    long
    Identifier of the created managed bot.
    static final int
    Identifier uniquely determining type of the object.
    long
    Identifier of the user who created the bot.
  • Constructor Summary

    Constructors
    Constructor
    Description
    A 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 Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • userId

      public long userId
      Identifier of the user who created the bot.
    • botUserId

      public long botUserId
      Identifier of the created managed bot.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Update
      Returns:
      this.CONSTRUCTOR