From 82902e9dc3ad67c49e4f9381b83d38a659efa083 Mon Sep 17 00:00:00 2001 From: bt Date: Sat, 16 May 2026 19:15:21 +0200 Subject: Add history reading --- docs/rfc.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/rfc.md') diff --git a/docs/rfc.md b/docs/rfc.md index b5fa585..e60527f 100644 --- a/docs/rfc.md +++ b/docs/rfc.md @@ -163,6 +163,7 @@ Payload type attributes describes following characteristics: | 0x05 | Message | SC | | 0x06 | ServerAuth | S | | 0x07 | UserMode | C | +| 0x08 | History. | C | | 0xFF | Test | R | ### Success @@ -243,7 +244,7 @@ example: joining, leaving or setting privilages. | 0x00 | none | | 0x01 | in_channel | -### GetHistory +### History Read messages previously send to a specific channel. User has to member of the channel to perform this action. *since* field specifies start of time range for which history should be retrieved. *count* specifes how many messages should be returned in a single response. *GetHistory* is a locking sequence and it cannot be cancelled while in progress so *count* should be set relatively low. To get more messages use multiple requests with incremented *offset*. -- cgit v1.2.3