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 want, but if the Session has reached its member limit when an invite is accepted, the user will not be able to join the Session.
There is a limit on the number of users who can join a Session.
Events occur when a new member joins, a member leaves, or the Session is deleted.
In a Session, you can send and receive broadcast messages to and from all session members.
As long as the Session is active, shared properties can be saved.
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 will receive an invitation message and can use the Join function to accept the invitation. Invitations come with a TTL (time-to-live, in seconds), and once the TTL expires, there is no guarantee that the user can join the Session even if they accept the invitation.
Accepting Invitations
Users invited via the session invitation feature can join the Session by accepting the invitation and calling the Join function.
最終更新