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
ConstructorDescriptionUpdateAuthorizationState
(TelegramProperties properties, TelegramClient telegramClient) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleNotification
(TdApi.UpdateAuthorizationState notification) Handles incoming update event.
-
Constructor Details
-
UpdateAuthorizationState
-
-
Method Details
-
handleNotification
Handles incoming update event.- Specified by:
handleNotification
in interfaceUpdateNotificationListener<TdApi.UpdateAuthorizationState>
- Parameters:
notification
- incoming update from TDLib
-
notificationType
- Specified by:
notificationType
in interfaceUpdateNotificationListener<TdApi.UpdateAuthorizationState>
- Returns:
- listener class type
-