Session Module
Overview
A Session is compatible with Room, Group, Field, and DM.
In a Session, users can become members, and all members can send and receive messages.
Each Session has a maximum allowable number of members. You can invite as many members as you wish, but if the Session has reached its member limit when an invitation is accepted, the user will not be able to join the Session.
There is a limit on the number of users who can participate in a Session.
Events are triggered when a new member joins, a member leaves, or the Session is deleted.
In a Session, you can send and receive broadcast messages to all session members.
As long as the Session is active, shared properties can be stored.
For technical details, please refer to the server API documentation.
Session Invitations
As the owner (creator) of a Session, you can invite any user to the Session by specifying their user ID.
Invited users receive an invitation message and can use the Join function to accept the invitation. Invitations have a TTL (Time To Live, in seconds), and once the TTL expires, acceptance of the invitation does not guarantee participation in the Session.
Accepting Invitations
Users invited through the session invitation feature can join the Session by accepting the invitation and calling Join.
Last updated
Was this helpful?