autobindings/spec

43 lines
1.8 KiB
Plaintext
Raw Normal View History

2023-02-21 20:31:49 +00:00
# ( app | profile) FunctionName (profile)
# Peer Engine
app ActivatePeerEngine profile
app DeactivatePeerEngine profile
# Profile Management
app CreateProfile name password bool:autostart
app LoadProfiles password
app DeleteProfile profile password
app ImportProfile string:file password
profile ChangePassword string:current string:newPassword string:newPasswordAgain
profile ExportProfile string:file
# Conversation Management
(json)profile EnhancedImportBundle string:bundle
2023-02-21 20:31:49 +00:00
profile ArchiveConversation conversation
profile AcceptConversation conversation
profile BlockConversation conversation
profile UnblockConversation conversation
profile DeleteConversation conversation
# Message Management
(json)profile EnhancedSendMessage conversation string:msg
(json)profile EnhancedGetMessageById conversation message
(json)profile EnhancedGetMessageByContentHash conversation string:contentHash
(json)profile EnhancedGetMessages conversation int:index int:count
# (json)profile SendInviteToConversation conversation conversation:target
profile UpdateMessageAttribute conversation channel message string:attributeKey string:attributeValue
# Group Management
profile StartGroup string:name string:server
# Filesharing Management
import "cwtch.im/cwtch/functionality/filesharing"
@profile-experiment DownloadFileDefaultLimit filesharing conversation string:filepath string:manifest string:filekey
@profile-experiment RestartFileShare filesharing string:filekey
@profile-experiment StopFileShare filesharing string:filekey
@profile-experiment CheckDownloadStatus filesharing string:filekey
@profile-experiment VerifyOrResumeDownload filesharing conversation string:filekey
@(json)profile-experiment EnhancedShareFile filesharing conversation string:filepath
@(json)profile-experiment EnhancedGetSharedFiles filesharing conversation