👩💻API Reference
Control TribesKit programmatically
Programmatic control over the TribesKit side panel allows developers to seamlessly manage conversations, control user logins, and perform other essential operations. The provided APIs offer granular control to cater to specific use cases. Below is a detailed breakdown of the available API functions:
User Login
Using a specified wallet address, you can programmatically log the user in to chat
Chatting
Chat with a Wallet Address
For initiating a chat with a specific wallet address:
Chat with a Safe™️ multisig group:
Chat with an EVM based NFT-gated community
Manage the TribesKit Side Panel
To programmatically close the side panel:
Alternatively, if you wish to toggle (open or close based on the current state) the side panel, use:
This comprehensive API suite ensures you can finely tune TribesKit's behavior within your application for an optimal user experience. Ensure to call the appropriate methods based on your use-case scenario.
Last updated