Interface UpdateNotificationListener<T extends TdApi.Update>

Type Parameters:
T - type of update
All Known Implementing Classes:
UpdateAuthorizationState

public interface UpdateNotificationListener<T extends TdApi.Update>
Interface for incoming updates from TDLib.
Author:
Vorobyev Pavel
  • Method Details

    • handleNotification

      void handleNotification(T notification)
      Handles incoming update event.
      Parameters:
      notification - incoming update from TDLib
    • notificationType

      Class<T> notificationType()
      Returns:
      listener class type