summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-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*.