From c2fd2a3f5b1e4e5090c7219af8382a4da9acadc0 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 15 Apr 2023 18:53:01 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/push-updates.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data/web/corefork.telegram.org/api/push-updates.html b/data/web/corefork.telegram.org/api/push-updates.html index 0c54557dde..af2a59d260 100644 --- a/data/web/corefork.telegram.org/api/push-updates.html +++ b/data/web/corefork.telegram.org/api/push-updates.html @@ -53,7 +53,9 @@
  • 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 deprecated simple push API): note that this push type can also be used by an open source push notification spec like UnifiedPush ».
  • +
  • 4 - Simple push (endpoint for firefox's deprecated simple push API): note that this push type can also be used by an open source push notification spec like UnifiedPush ».
    +Simple push works by sending a simple PUT request with a version=number payload to the specified HTTPS endpoint every time a relevant message is received: upon receiving such a notification, clients should connect to the MTProto API and fetch updates.
    +(Note that the number won't necessarily be incremental in Telegram's implementation, just treat each distinct request as a distinct wake-up signal).
  • 5 - Ubuntu phone (token for ubuntu push)
  • 6 - Blackberry (token for blackberry push)
  • 7 - MTProto separate session