diff --git a/data/web/corefork.telegram.org/api/push-updates.html b/data/web/corefork.telegram.org/api/push-updates.html index 8cbdd00f3c..702efb88f4 100644 --- a/data/web/corefork.telegram.org/api/push-updates.html +++ b/data/web/corefork.telegram.org/api/push-updates.html @@ -48,7 +48,7 @@
To be able to send APNS notifications to Apple servers or GCM notifications to Google servers, application certificates (APNS) or an application key (GCM) must be specified in the application settings.
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 modes are supported:
+The following token_types are supported:
1
- APNS (device token for apple push)2
- FCM (firebase token for google firebase)1
- APNS (device token for apple push)2
- FCM (firebase token for google firebase)3
- MPNS (channel URI for microsoft push)4
- Simple push (endpoint for firefox's simple push API)5
- Ubuntu phone (token for ubuntu push)6
- Blackberry (token for blackberry push)7
- Unused8
- WNS (windows push)9
- APNS VoIP (token for apple push VoIP)10
- Web push (web push, see below)11
- MPNS VoIP (token for microsoft push VoIP)12
- Tizen (token for tizen push)10
web push, the token must be a JSON-encoded object containing the keys described in PUSH updates1
- APNS (device token for apple push)2
- FCM (firebase token for google firebase)3
- MPNS (channel URI for microsoft push)4
- Simple push (endpoint for firefox's simple push API)5
- Ubuntu phone (token for ubuntu push)6
- Blackberry (token for blackberry push)7
- Unused8
- WNS (windows push)9
- APNS VoIP (token for apple push VoIP)10
- Web push (web push, see below)11
- MPNS VoIP (token for microsoft push VoIP)12
- Tizen (token for tizen push)10
web push, the token must be a JSON-encoded object containing the keys described in PUSH updates