POST /public/api/chat/send/:channel_name |
int64 — a message id.
POST /public/api/chat/received |
| Field | Type | Description |
|---|---|---|
MessageIds | []int64 | An array of message ids to mark as received. |
void — an empty result.
POST /public/api/chat/read |
| Field | Type | Description |
|---|---|---|
MessageIds | []int64 | An array of message ids to mark as read. |
void — an empty result
Query messages in an internal chat, the messages are ordered by ids.
POST /public/api/chat/query_messages |
| Field | Type | Description |
|---|---|---|
Limit | int32 | |
Offset | int32 | |
Desc | bool | Specifies the sort direction:
|
AfterId | int64? | Optional message id after which to return other messages. |