SCLib is an API that allows you to work with the Shifty Messenger system. It operates using the SMD (Shifty Manifest Dispatch) protocol.
In essence, there is an appeal to the SMD converter itself, which already receives and processes the request and data. This library is multilingual, however, different versions have features and shortcomings, so it is worth using stable versions of the library.
await smd.connect(userid, public_key)
// return Boolean await smd.sendMessage(chatid, 'just a text')
// return Boolean await smd.setProfileAvatar(file_key)
// return Boolean await smd.createPrivateChat(userid)
// return Boolean await smd.getChatInfo(chatid)
// return Boolean or Array await smd.uploadFile('any data even text')
// return Array await smd.getFile('file_key')
// return Bytes await smd.searchChats(chatname, 0, 10)
// return Boolean or Array await smd.searchUsers(username, 0, 10)
// return Boolean or Array await smd.getChats(last_chatid, 0, 10, false)
// return Boolean or Array await smd.getChat(chatid, last_messageid, 0, 10, false)
// return Boolean or Array