permissionType property Null safety

ChatRoomPermissionType permissionType
final

Gets the current user's role in the chat room. The role types: {@link ChatRoomPermissionType}.

Note To get the correct value, ensure that you call {@link ChatRoomManager#fetchChatRoomInfoFromServer(String)} before calling this method.

Implementation

final ChatRoomPermissionType permissionType;