Initialization
Initialization
Before using Game Chat, it must be initialized. Add the project ID you checked in the dashboard. To initialize Game Chat, follow these steps:
Access the dashboard and check the project ID in the settings menu.
Use the following code to initialize instances.
Imports NBaseSDK module.
Creates an instance of NBaseSDK Chat.
Initializes Game Chat with the project ID, region, and language code.
Error handling
Basic error handling is to add the code inside the try... catch as follows:
Last updated