RequestDescriptionResponse
CodeBodyCodeBody
1002 group name;
channel name;
login;
hash of password (sha256);
Authorization10
301 current hash of password (sha256);
new hash of password (sha256);
Password update10
6201 poll delay (int, max 120); Pop meta-message 6303
(none message)
6301 length of message;
UUID;
6302
(signal)
length of message;
6202Receiving part of message part of message (max 4096 bytes);
ok or error packet;
6101Removing a message10
6102 UUID; Removing a message by UUID10

Schematically receiving the message is shown in the image:

Any message is divided into blocks of 4 kilobytes. Then it is block-by-block uploaded to the server or unloaded from it. After sending the block, a confirmation is received about the correct loading of the block or about a loading error.

2023 © i@trusow.ru