ChatRoomSyncEvent

public class ChatRoomSyncEvent

When the event occurs, the current user will receive the event if they are online. If the current user is offline when the event occurs, they will not receive the event upon coming online.

Since

5.4.5

Constructors

Link copied to clipboard
public void ChatRoomSyncEvent()

Types

Link copied to clipboard
public enum ChatRoomSyncStatus
Link copied to clipboard
*Translation:** *Reason for leaving** is only valid when **status** is **Quit**.

Properties

Link copied to clipboard
public String chatroomId
Chatroom ID.
Link copied to clipboard
public String extra
Additional Information
Link copied to clipboard
reason description: If the status is Quit, it distinguishes the type of leaving: 1.
Link copied to clipboard
Indicates the change status, where 0: left, 1: joined.
Link copied to clipboard
public long time
Timestamp when the user joins/leaves/is kicked, accurate to milliseconds

Functions

Link copied to clipboard
public String getChatroomId()
Link copied to clipboard
public String getExtra()
Link copied to clipboard
Link copied to clipboard
public long getTime()
Link copied to clipboard
public void setChatroomId(String chatroomId)
Link copied to clipboard
public void setExtra(String extra)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public void setTime(long time)