syndicate_actor_tox/protocol.prs

36 lines
995 B
Plaintext

version 1 .
ToxDataspace = <tox @publicKey bytes @entity #!any> .
FriendDataspace = <friend @publicKey bytes @entity #!any> .
CoreVersion = <core @major int @minor int @patch int> .
Address = <address @text string> .
Name = <name @name string> .
Connection = =none / =tcp / =udp .
Status = <status @status Connection> .
StatusMessage = <status-message @msg string> .
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> .
; 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> .