From 4bb8d083a57b3b118af2acf52b7dee1a80ba0a02 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 9 Mar 2022 18:51:10 +0000 Subject: [PATCH] Update content of files --- data/corefork.telegram.org/api/layers.html | 2 +- .../corefork.telegram.org/api/push-updates.html | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/data/corefork.telegram.org/api/layers.html b/data/corefork.telegram.org/api/layers.html index ca17f49dab..64dba54431 100644 --- a/data/corefork.telegram.org/api/layers.html +++ b/data/corefork.telegram.org/api/layers.html @@ -348,7 +348,7 @@ Layer…">

PUSH notification changes

New PUSH notifications

Schema

chatFull#46a6ffb4 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector<BotInfo> pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector<long> = ChatFull;
diff --git a/data/corefork.telegram.org/api/push-updates.html b/data/corefork.telegram.org/api/push-updates.html
index 9d66b570cd..36caffe383 100644
--- a/data/corefork.telegram.org/api/push-updates.html
+++ b/data/corefork.telegram.org/api/push-updates.html
@@ -97,8 +97,9 @@
 
  • updates - base64url-encoded TL-serialization of the Updates object, currently sent only for PHONE_CALL_REQUEST (with updatePhoneCall inside)
  • call_id - Call ID, used in PHONE_CALL_REQUEST
  • call_ah - Call access hash, used in PHONE_CALL_REQUEST
  • -
  • encryption_id - secret chat id for ENCRYPTION_REQUEST, ENCRYPTION_ACCEPT, ENCRYPTED_MESSAGE
  • -
  • random_id - random id for message in ENCRYPTED_MESSAGE
  • +
  • encryption_id - Secret chat id for ENCRYPTION_REQUEST, ENCRYPTION_ACCEPT, ENCRYPTED_MESSAGE
  • +
  • random_id - Random id for message in ENCRYPTED_MESSAGE
  • +
  • contact_id - Telegram user identifier of contact that joined Telegram in CONTACT_JOINED
  • msg_id - Message ID for new message event or reaction event
  • channel_id - Identifier of the channel/supergroup where the event occurred
  • chat_id - Identifier of the legacy group where the event occurred
  • @@ -132,17 +133,17 @@ DC_UPDATE -dc - number of the data-center
    addr - server address with port number in the format 111.112.113.114:443 +data.custom.dc - number of the data-center
    data.custom.addr - server address with port number in the format 111.112.113.114:443 In case the client gets this notification, it is necessary to add the received server address to the list of possible addresses. In case the address of the first DC was passed (dc=1), it is recommended to call it immediately using help.getConfig to update dc-configuration. MESSAGE_DELETED -channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_id: For chats, Chat identifier
    from_id: For PMs, Author identifier
    messages: Comma-separated IDs of messages that were deleted +data.custom.channel_id: For channels and supergroups, Channel/supergroup identifier
    data.custom.chat_id: For chats, Chat identifier
    data.custom.from_id: For PMs, Author identifier
    data.custom.messages: Comma-separated IDs of messages that were deleted Messages were deleted, remove multiple notifications for this chat READ_HISTORY -channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_id: For chats, Chat identifier
    from_id: For PMs, Author identifier
    max_id: Maximum ID of read messages +data.custom.channel_id: For channels and supergroups, Channel/supergroup identifier
    data.custom.chat_id: For chats, Chat identifier
    data.custom.from_id: For PMs, Author identifier
    data.custom.max_id: Maximum ID of read messages Message history was read, remove multiple notifications for this chat @@ -162,7 +163,7 @@ MESSAGE_ANNOUNCEMENT -data.announcement +data.announcement: Announcement Roughly equivalent to a message received from the service notifications (Telegram Notifications, id 777000) user, but must be delivered via push notifications, without contacting the API. @@ -534,8 +535,8 @@ CHAT_REQ_JOINED -{2} -{1} was accepted into the group +{2}|{1} was accepted into the group +1. User name
    2. Chat name CHAT_RETURNED