Class UpdateAuthorizationState
java.lang.Object
dev.voroby.springframework.telegram.client.updates.UpdateAuthorizationState
- All Implemented Interfaces:
UpdateNotificationListener<TdApi.UpdateAuthorizationState>
public class UpdateAuthorizationState
extends Object
implements UpdateNotificationListener<TdApi.UpdateAuthorizationState>
Handler of
TdApi.AuthorizationState updates.-
Constructor Summary
ConstructorsConstructorDescriptionUpdateAuthorizationState(TelegramProperties properties, TelegramClient telegramClient) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleNotification(TdApi.UpdateAuthorizationState notification) Handles incoming update event.
-
Constructor Details
-
UpdateAuthorizationState
-
-
Method Details
-
handleNotification
Handles incoming update event.- Specified by:
handleNotificationin interfaceUpdateNotificationListener<TdApi.UpdateAuthorizationState>- Parameters:
notification- incoming update from TDLib
-
notificationType
- Specified by:
notificationTypein interfaceUpdateNotificationListener<TdApi.UpdateAuthorizationState>- Returns:
- listener class type
-