QChatChannelService class

圈组频道服务 仅支持Android 和 iOS

Annotations
  • @HawkEntryPoint()

Constructors

QChatChannelService()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createChannel(QChatCreateChannelParam param) Future<NIMResult<QChatCreateChannelResult>>
创建频道 回调返回创建成功的频道
deleteChannel(QChatDeleteChannelParam param) Future<NIMResult<void>>
删除频道
getChannelBlackWhiteMembersByPage(QChatGetChannelBlackWhiteMembersByPageParam param) Future<NIMResult<QChatGetChannelBlackWhiteMembersByPageResult>>
分页查询频道黑白名单成员列表
getChannelBlackWhiteRolesByPage(QChatGetChannelBlackWhiteRolesByPageParam param) Future<NIMResult<QChatGetChannelBlackWhiteRolesByPageResult>>
分页查询频道黑白名单身份组列表
getChannelMembersByPage(QChatGetChannelMembersByPageParam param) Future<NIMResult<QChatGetChannelMembersByPageResult>>
通过分页接口查询频道成员 回调返回查询到的频道成员
getChannels(QChatGetChannelsParam param) Future<NIMResult<QChatGetChannelsResult>>
通过频道Id查询频道 回调返回查询到的频道列表
getChannelsByPage(QChatGetChannelsByPageParam param) Future<NIMResult<QChatGetChannelsByPageResult>>
通过分页接口查询频道 回调返回查询到的频道列表
getChannelUnreadInfos(QChatGetChannelUnreadInfosParam param) Future<NIMResult<QChatGetChannelUnreadInfosResult>>
查询未读信息 回调返回查询到的历史消息
getExistingChannelBlackWhiteMembers(QChatGetExistingChannelBlackWhiteMembersParam param) Future<NIMResult<QChatGetExistingChannelBlackWhiteMembersResult>>
批量查询频道黑白名单成员列表
getExistingChannelBlackWhiteRoles(QChatGetExistingChannelBlackWhiteRolesParam param) Future<NIMResult<QChatGetExistingChannelBlackWhiteRolesResult>>
批量查询频道黑白名单身份组列表
getUserChannelPushConfigs(QChatGetUserChannelPushConfigsParam param) Future<NIMResult<QChatGetUserPushConfigsResult>>
获取用户频道推送配置列表
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchChannelByPage(QChatSearchChannelByPageParam param) Future<NIMResult<QChatSearchChannelByPageResult>>
分页检索频道列表
searchChannelMembers(QChatSearchChannelMembersParam param) Future<NIMResult<QChatSearchChannelMembersResult>>
检索频道内成员
subscribeAsVisitor(QChatSubscribeChannelAsVisitorParam param) Future<NIMResult<QChatSubscribeChannelAsVisitorResult>>
以游客身份订阅频道
subscribeChannel(QChatSubscribeChannelParam param) Future<NIMResult<QChatSubscribeChannelResult>>
订阅频道 大服务器下,只有订阅频道后才能收到该频道的订阅内容(消息、未读数、未读状态);与你相关的消息不需要订阅频道就可以收到,比如@你的消息(@All的消息不属于与你相关的消息) 小服务器下,不需要订阅频道就可以收到所有该服务器下所有频道的消息 订阅正在输入事件不区分大服务器和小服务器,只有订阅了才会收到,默认最多订阅100个频道 回调中返回订阅结果
toString() String
A string representation of this object.
inherited
updateChannel(QChatUpdateChannelParam param) Future<NIMResult<QChatUpdateChannelResult>>
修改频道信息
updateChannelBlackWhiteMembers(QChatUpdateChannelBlackWhiteMembersParam param) Future<NIMResult<void>>
更新频道黑白名单成员
updateChannelBlackWhiteRoles(QChatUpdateChannelBlackWhiteRolesParam param) Future<NIMResult<void>>
更新频道黑白名单身份组
updateUserChannelPushConfig(QChatUpdateUserChannelPushConfigParam param) Future<NIMResult<void>>
更新用户频道推送配置

Operators

operator ==(Object other) bool
The equality operator.
inherited