Create a Client
Initial configuration
Protected
Connects to our API and WS servers
The secret token for the bot
Executes the handler when someone send a message to a group where the bot present
Executes the handler when someone reacts to a message
Executes the handler when the client is successfully connected to the server.
A void function that's called when the client is ready.
Executes the handler when something goes wrong with the websocket connection
Send a Websocket message to our server
The ID of the group you want to send message
The type of the message you want to send
The message content
Any additional data you want to send with
Create a Client