Class TdApi.UpdateNewCustomEvent

Enclosing class:
TdApi

public static class TdApi.UpdateNewCustomEvent extends TdApi.Update
A new incoming event; for bots only.
  • Field Details

    • event

      public String event
      A JSON-serialized event.
    • CONSTRUCTOR

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

    • UpdateNewCustomEvent

      public UpdateNewCustomEvent()
      A new incoming event; for bots only.
    • UpdateNewCustomEvent

      public UpdateNewCustomEvent(String event)
      A new incoming event; for bots only.
      Parameters:
      event - A JSON-serialized event.
  • 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