mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-07 00:13:06 +00:00
deploy: 5cfa7bd93ab32d857a882633f31d6239d061f579
This commit is contained in:
parent
17c9448486
commit
b383c2deed
@ -1 +1 @@
|
||||
1617172338
|
||||
1617203180
|
||||
@ -68,4 +68,18 @@ This will bypass the random peer selection process and connect to the specified
|
||||
| --- | --- |
|
||||
| `/help` | displays available in-chat commands |
|
||||
| `/connect` | interactively connect to a new peer |
|
||||
| `/nick` | change nickname for current chat session |
|
||||
| `/nick` | change nickname for current chat session |
|
||||
|
||||
## `chat2` message protobuf format
|
||||
|
||||
Each `chat2` message is encoded as follows
|
||||
|
||||
```protobuf
|
||||
message Chat2Message {
|
||||
uint64 timestamp = 1;
|
||||
string nick = 2;
|
||||
bytes payload = 3;
|
||||
}
|
||||
```
|
||||
|
||||
where `timestamp` is the Unix timestamp of the message, `nick` is the relevant `chat2` user's selected nickname and `payload` is the actual chat message being sent. The `payload` is the byte array representation of a UTF8 encoded string.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user