GS2-Chat API Reference

Text chat feature

Provides text-based chat functionality.

Message data is managed per room, and logs for the period set in the Namespace settings (1 to 30 days) are retained. Rooms can be assigned a password, and if so, passwords are required to retrieve messages and post requests. Rooms can be assigned a user ID whitelist, which means that only game players on the whitelist will be able to retrieve and post messages.

Messages can be categorized, allowing the client to toggle how the payload is parsed. For example, for category 0 the text is included in the payload as is. Category 1includes the ID of the stamp in the payload. You can usecategory 1` in this way.

If you subscribe to a room, you will receive push notifications from the server when new posts are made to the room. At this time, you can set the categories in which you would like to receive notifications. By dividing the categories by message type and importance, you can improve the user experience by allowing game players to set the types of messages for which they would like to receive notifications. There is also a setting in the subscription settings to forward to mobile push notifications, so make good use of it.


GS2-Chat SDK for Game Engine API Reference

Specifications of models and API references for GS2-Chat SDK for Game Engine

GS2-Chat SDK API Reference

Specification of models and API references for GS2-Chat SDK for various programming languages

GS2-Chat Script Trigger Reference

Reference for event triggers that call extended scripts

GS2-Chat Deploy/CDK Reference

The template format used when creating stacks with GS2-Deploy, and implementation examples of template output in various languages using CDK

GS2-Chat Master Data Reference

Reference for the master data format and the models to be imported