syndicate_actor_tox/protocol.prs

36 lines
995 B
Plaintext
Raw Permalink Normal View History

2022-04-05 03:13:01 +00:00
version 1 .
ToxDataspace = <tox @publicKey bytes @entity #!any> .
2022-04-05 03:13:01 +00:00
FriendDataspace = <friend @publicKey bytes @entity #!any> .
2022-04-05 03:13:01 +00:00
CoreVersion = <core @major int @minor int @patch int> .
2022-04-05 03:13:01 +00:00
Address = <address @text string> .
2022-06-10 16:49:36 +00:00
Name = <name @name string> .
2022-04-05 03:13:01 +00:00
Connection = =none / =tcp / =udp .
Status = <status @status Connection> .
StatusMessage = <status-message @msg string> .
2022-04-05 03:13:01 +00:00
Typing = <typing> .
; Asserted by the core on a friend request.
FriendRequest = <request @key bytes @msg string> .
; Asserted to the core to accept a friend request.
FriendAccept = <accept @key bytes> .
2022-07-07 13:20:34 +00:00
; Messages sent by friend entities.
FriendMessage = <msg @body string @kind int> .
; Asserted by a friend while a transfer is active.
TransferDataspace = <transfer @kind int @size int @filename string @entity #!any> .
; Asserted to the transfer entity to indicate the transfer should be saved to a file
TransferSink = <sink @path string> .
BootstrapNode = <bootstrap @publicKey string @host string @port int> .