Interface Client.ResultHandler

Enclosing class:
Client

public static interface Client.ResultHandler
Interface for handler for results of queries to TDLib and incoming updates from TDLib.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Callback called on result of query to TDLib or incoming update from TDLib.
  • Method Details

    • onResult

      void onResult(TdApi.Object object)
      Callback called on result of query to TDLib or incoming update from TDLib.
      Parameters:
      object - Result of query or update of type TdApi.Update about new events.