Chat SDK for Unity and Windows v1.3.0
|
Properties | |
string | GroupId [get, set] |
string | Name [get, set] |
string | Description [get, set] |
string | Owner [get, set] |
string | Announcement [get, set] |
int | MemberCount [get, set] |
List< string > | MemberList [get, set] |
List< string > | AdminList [get, set] |
List< string > | BlockList [get, set] |
List< string > | MuteList [get, set] |
bool | NoticeEnabled [get, set] |
bool | MessageBlocked [get, set] |
bool | IsAllMemberMuted [get, set] |
GroupPermissionType | PermissionType [get, set] |
bool | IsMemberOnly [get, set] |
bool | IsMemberAllowToInvite [get, set] |
int | MaxUserCount [get, set] |
bool | IsDisabled [get, set] |
string | Ext [get, set] |
|
getset |
The group ID.
|
getset |
The group name.
|
getset |
The group description.
|
getset |
The group owner.
|
getset |
The group announcement.
To get the group announcement from the server, you can call IGroupManager#GetGroupAnnouncementFromServer(String, ValueCallBack)
.
|
getset |
The number of members in the group.
|
getset |
The member list of the group.
|
getset |
The admin list of the group.
To get the admin list of the group from the server, you can call IGroupManager#GetGroupSpecificationFromServer(String, ValueCallBack)
to get group details.
|
getset |
Gets the block list of the group.
To get the block list of the group from the server, you can call IGroupManager#GetGroupBlockListFromServer(String, int, int, ValueCallBack)
.
|
getset |
Gets the mute list of the group.
To get the mute list of the group from the server, you can call IGroupManager#GetGroupMuteListFromServer(String, int, int, ValueCallBack)
.
|
getset |
Whether push notifications are enabled.
true
: Yes.false
: No.
|
getset |
Whether group messages are blocked.
true
: Yes.false
: No.To block group messages, you can call IGroupManager#BlockGroup(Stringļ¼CallBack
.
To unblock group messages, you can call IGroupManager#UnBlockGroup(String, CallBack)
.
|
getset |
Whether all members are muted.
true
: Yes.false
: No.The mute state of the in-memory object is updated when the mute callback OnMuteListAddedFromGroup
or unmuting callback OnMuteListRemovedFromGroup
is received.
After the in-memory object is collected and pulled again from the database or server, the state becomes untrustworthy.
|
getset |
The role of the current user in the group.
|
getset |
Whether users can join a group only via a join request or a group invitation:
true
: Yes.false
: No. Users can join a group freely, without a join request or a group invitation.When GroupStyle
is set to PrivateOnlyOwnerInvite
, PrivateMemberCanInvite
, or PublicJoinNeedApproval
, the attribute value is true
.
|
getset |
Whether other group members than the group owner and admins can invite users to join the group:
true
: Yes. All group members can invite other users to join the group.false
: No. Only the group owner and admins can invite other users to join the group.
|
getset |
The maximum number of members allowed in a group.
The attribute is set during group creation.
To get the correct attribute value, you need to first get the details of the group from the server by calling IGroupManager#GetGroupSpecificationFromServer(String, ValueCallBack)
. Otherwise, the SDK returns 0
.
|
getset |
Whether the group is disabled:
true
: Yes. The group is disabled. Group members cannot send or receive messages, nor perform group and member management operations. This is also the case for threads in this group.false
: No. The group is in the normal state. Group members can send and receive messages, as well as perform group and member management operations. This is also the case for threads in this group.This attribute is not stored in the local database.
For groups loaded from the local database, the default value of this attribute is NO
.
|
getset |
Gets the custom extension information of the group.