Push Notifications List
Subscribing to notification
To subscribe to notifications, the client must invoke the account.registerDevice query, passing in token_type and token as parameters that identify the current device. It is useful to repeat this query at least once every 24 hours or when restarting the application. Use account.unregisterDevice to unsubscribe.
The following token_types are supported:
- FCM_V2_IOS_TEDR (Apple Push Notification Service)
- FCM_V2_ANDROID (Google Firebase Cloud Messaging)
- APNS_VOIP (Apple Push VoIP)
- HMS (Huawei Mobile Services)
- FCM_V2_IOS (Firebase SDK)
- SSE (SSE Notifications)
- FCM_V2_ANDROID_TEDR (FCM v2 Android TEDR)
- IOS_TEDR_VOIP (FCM v2 iOS TEDR)
Принцип работы пуш-уведомлений описан здесь:
https://core.telegram.org/api/push-updates
Loading notifications...