createGroup
- createGroup(info, memberList?): Promise<string>
-
Returns Promise<string>
setGroupInfo
- setGroupInfo(info): Promise<void>
-
Returns Promise<void>
initGroupAttributes
- initGroupAttributes(groupID, attributes): Promise<void>
-
Parameters
-
groupID: string
-
attributes: Map<string, string>
Returns Promise<void>
setGroupAttributes
- setGroupAttributes(groupID, attributes): Promise<void>
-
Parameters
-
groupID: string
-
attributes: Map<string, string>
Returns Promise<void>
deleteGroupAttributes
- deleteGroupAttributes(groupID, keys): Promise<void>
-
Parameters
-
groupID: string
-
keys: string[]
Returns Promise<void>
getGroupAttributes
- getGroupAttributes(groupID, keys): Promise<Map<string, string>>
-
Parameters
-
groupID: string
-
keys: string[]
Returns Promise<Map<string, string>>
getGroupOnlineMemberCount
- getGroupOnlineMemberCount(groupID): Promise<number>
-
Returns Promise<number>
setGroupCounters
- setGroupCounters(groupID, counters): Promise<Map<string, number>>
-
Parameters
-
groupID: string
-
counters: Map<string, number>
Returns Promise<Map<string, number>>
getGroupCounters
- getGroupCounters(groupID, keys): Promise<Map<string, number>>
-
Parameters
-
groupID: string
-
keys: string[]
Returns Promise<Map<string, number>>
increaseGroupCounter
- increaseGroupCounter(groupID, key, value): Promise<Map<string, number>>
-
Parameters
-
groupID: string
-
key: string
-
value: number
Returns Promise<Map<string, number>>
decreaseGroupCounter
- decreaseGroupCounter(groupID, key, value): Promise<Map<string, number>>
-
Parameters
-
groupID: string
-
key: string
-
value: number
Returns Promise<Map<string, number>>
getGroupMemberList
- getGroupMemberList(groupID, filter, nextSeq): Promise<V2TIMGroupMemberInfoResult>
-
Parameters
-
groupID: string
-
filter: number
-
nextSeq: number
getGroupMembersInfo
- getGroupMembersInfo(groupID, memberList): Promise<V2TIMGroupMemberFullInfo[]>
-
Parameters
-
groupID: string
-
memberList: string[]
setGroupMemberInfo
- setGroupMemberInfo(groupID, info): Promise<void>
-
Returns Promise<void>
muteGroupMember
- muteGroupMember(groupID, userID, seconds): Promise<void>
-
Parameters
-
groupID: string
-
userID: string
-
seconds: number
Returns Promise<void>
muteAllGroupMembers
- muteAllGroupMembers(groupID, isMute): Promise<void>
-
Parameters
-
groupID: string
-
isMute: boolean
Returns Promise<void>
kickGroupMember
- kickGroupMember(groupID, memberList, option): Promise<V2TIMGroupMemberOperationResult[]>
-
Parameters
-
groupID: string
-
memberList: string[]
-
option: {
reason?: string;
}
setGroupMemberRole
- setGroupMemberRole(groupID, userID, role): Promise<void>
-
Parameters
-
groupID: string
-
userID: string
-
role: number
Returns Promise<void>
markGroupMemberList
- markGroupMemberList(groupID, memberList, markType, enableMark): Promise<void>
-
Parameters
-
groupID: string
-
memberList: string[]
-
markType: number
-
enableMark: boolean
Returns Promise<void>
transferGroupOwner
- transferGroupOwner(groupID, userID): Promise<void>
-
Parameters
-
groupID: string
-
userID: string
Returns Promise<void>
acceptGroupApplication
- acceptGroupApplication(application, reason?): Promise<void>
-
Returns Promise<void>
refuseGroupApplication
- refuseGroupApplication(application, reason?): Promise<void>
-
Returns Promise<void>
setGroupApplicationRead
- setGroupApplicationRead(): Promise<void>
-
Returns Promise<void>
腾讯云通信服务 IMSDK
群组高级接口,里面包含了群组的高级功能,比如群成员邀请、非群成员申请进群等操作接口。