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 Detail

      • 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.