summaryrefslogtreecommitdiffstats
path: root/docs/rfc.md
diff options
context:
space:
mode:
authorbt <bt@rctt.net>2026-05-16 19:15:21 +0200
committerbt <bt@rctt.net>2026-05-16 22:46:48 +0200
commit82902e9dc3ad67c49e4f9381b83d38a659efa083 (patch)
treee53faaa5231eb6624fea4e4c448709d7a8765d37 /docs/rfc.md
parentc04c73a4df223c8c2b2b42ed482fc0181948e6ea (diff)
downloadsolec-82902e9dc3ad67c49e4f9381b83d38a659efa083.tar.gz
solec-82902e9dc3ad67c49e4f9381b83d38a659efa083.zip
Add history reading
Diffstat (limited to 'docs/rfc.md')
-rw-r--r--docs/rfc.md3
1 files changed, 2 insertions, 1 deletions
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*.