package
0.1.0
Repository: https://github.com/go-baa/common.git
Documentation: pkg.go.dev

# Functions

New 获取IM实例.

# Constants

ActionStatusFail 请求处理结果失败.
ActionStatusOK 请求处理结果成功.
AddFriendTypeBoth 双向加好友.
AddFriendTypeSingle 单向加好友.
AddSourceTypeAndroid 安卓.
AddSourceTypeIOS ios.
AddSourceTypeSystem 系统.
AllowTypeAllowAny 允许任何人添加自己为好友.
AllowTypeDenyAny 不允许任何人添加自己为好友.
AllowTypeNeedConfirm 需要经过自己确认才能添加自己为好友.
AppDefinedKeyAllowInvite 自定义是否允许邀请字段.
AppDefinedKeyGroupLevel 自定义群级别字段.
BlackCheckResultAWithB from有to,to没有from.
BlackCheckResultBoth 双向黑名单.
BlackCheckResultBWithA from没有to,to有from.
BlackCheckResultNoRelation 无关系.
BlackCheckTypeBoth 双向校验黑名单.
BlackCheckTypeSingle 单向校验黑名单.
ChatTypeC2C 单发消息类型.
ChatTypeGroup 群组消息类型.
CheckResultAWithB from有to,to没有from.
CheckResultBoth 双向好友.
CheckResultBWithA from没有to,to有from.
CheckResultNoRelation 无关系.
CheckTypeBoth 双向校验.
CheckTypeSingle 单向校验.
CustomProfileAccountRole 账号类型.
CustomProfileCompanyID 企业ID.
CustomProfileDepartmentID 门店ID.
CustomProfileUID 用户ID.
DeleteTypeBoth 双向删除.
DeleteTypeSingle 单向删除.
GenderFemale 女性.
GenderMale 男性.
GenderUnknown 没设置性别.
GetAllTypeNo 非全量更新.
GetAllTypeYes 全量更新.
GroupApplyOptionDisable 禁止任何人申请加入.
GroupApplyOptionFreeAccess 允许无需审批自由加入群组.
GroupApplyOptionNeedPermission 需要群主或管理员审批.
GroupImportMemberExist 导入或添加的群成员已存在.
GroupImportMemberFailed 导入或添加群成员失败.
GroupImportMemberSuccess 导入或添加群成员成功.
GroupMsgFlagDiscard 屏蔽群消息.
GroupMsgFlagNotify 接收并提示.
GroupMsgFlagNotNotify 接收不提示.
GroupRoleAdmin 管理员.
GroupRoleMember 群成员.
GroupRoleNotMember 非群成员.
GroupRoleOwner 群主.
GroupTypeAVChatRoom 互动直播聊天室.
GroupTypeBChatRoom 在线成员广播大群.
GroupTypeChatRoom 聊天室.
GroupTypePrivate 私有群.
GroupTypePublic 公开群.
IdentifierTypeEmail 邮箱类型用户名.
IdentifierTypeMobile 手机类型用户名.
IdentifierTypeString 字符串类型用户名.
ImageFormatBMP BMP类型.
ImageFormatGIF GIF类型.
ImageFormatJPG JPG类型.
ImageFormatOther 其它.
IMGateway REST API地址.
MsgTypeCustom 自定义消息类型.
MsgTypeFace 表情消息类型.
MsgTypeFile 文件消息类型.
MsgTypeImage 图像消息类型.
MsgTypeLocation 地理位置消息类型.
MsgTypeSound 语音消息类型.
MsgTypeText 文本消息类型.
ProfileAllowType 加好友验证方式.
ProfileBirthDay 生日.
ProfileGender 性别.
ProfileImage 头像URL.
ProfileLanguage 语言.
ProfileLocation 所在地.
ProfileMsgSettings 消息设置: Bit0:置0表示接收消息,置1则不接收消息.
ProfileNick 昵称.
ProfileSelfSignature 个性签名.
ServiceConfig 全局配置服务名.
ServiceDirtyWords 脏字管理服务名.
ServiceGroupOpen 群组服务名.
ServiceOpenConfig 运营数据服务名.
ServiceOpenIM 消息服务名.
ServiceOpenLogin 独立账号服务名.
ServiceOpenMSG 消息数据管理服务名.
ServiceProfile 资料管理服务名.
ServiceRegistration 托管账号服务名.
ServiceSNS 关系链服务名.

# Variables

AppDefinedDataFilterGroup 群组维度的自定义字段过滤器.
AppDefinedDataFilterGroupMember 群成员维度自定义字段过滤器.
AppInfoDefaultRequestField 默认请求字段.
AppInfoRequestField 全部运营字段.
GroupBaseInfoFilter 群组基础信息字段过滤器.
GroupBasePublicInfoFilter 群组公开基础信息过滤器.
IMApiFrequent Api调用频率.
MemberInfoFilter 成员信息字段过滤器.
MemberRoleFilter 群成员身份过滤器.
SelfInfoFilter 用户在群组中的个人资料.

# Structs

Account 账号基本信息.
AccountAttr 用户推送属性.
AccountRequest 通用用户操作请求.
AccountState 用户在线状态.
AccountTags 用户标签.
AddFriendItem 添加好友单条项目.
AddFriendRequest 添加好友请求.
AddGroupMemberRequest 增加群组成员请求.
AppAttr 应用推送属性.
AppDefinedData 自定义资料.
AppInfoItem 统计数据.
AppInfoRequest 运营数据请求结构.
AppInfoResponse 运营数据响应.
ChangeGroupOwnerRequest 转让群组请求.
CreateGroupResponse 创建群组响应.
CustomMsgContent 自定义消息内容.
DeleteGroupMemberRequest 删除群组成员请求.
DeleteGroupMsgBySenderRequest 删除指定用户发送的消息请求.
DirtyWordsList 脏字列表请求.
DirtyWordsQueryResponse 脏字查询响应.
EmptyRequest 空请求.
FaceMsgContent 表情消息内容.
FileMsgContent 文件消息内容,服务端不支持发送本类型消息.
ForbidSendMsgRequest 禁言设置与查询请求.
FromAccount ...
GetFriendRequest 拉取好友请求.
GetFriendResponse 拉取好友响应.
GetGroupInfoRequest 获取群组资料请求.
GetGroupInfoResponse 获取群组资料响应.
GetGroupMemberRequest 获取群成员资料请求.
GetGroupMemberResponse 获取群成员资料响应.
GetJoinedGroupRequest 获取用户所加入的群组请求.
GetJoinedGroupResponse 获取用户所加入的群组响应.
GetMsgHistoryRequest 消息记录下载请求.
GetNoSpeakingRequest 查询全局禁言配置请求.
GetProfileRequest 拉取资料请求.
GetProfileResponse 拉取资料响应.
GroupID 群组ID.
GroupIDList 群组ID列表.
GroupInfo 群组基本资料.
GroupListResponse 群组列表查询响应.
GroupMemberAccount 群组成员账号.
GroupMemberInfo 群组成员资料.
GroupMemberRole 用户在群组内身份.
GroupMemberWritableInfo 群组成员可修改信息.
GroupMsgGetRequest 拉取群漫游消息请求.
GroupMsgGetResponse 群漫游消息响应.
GroupMsgItem 群组漫游消息单个条目.
GroupMsgRequest 群组消息请求.
GroupShuttedUinResponse 群组禁言用户查询响应.
IM 腾讯云通信.
ImageInfo 图像信息.
ImageMsgContent 图像消息内容,服务端不支持发送本类型消息.
ImportGroupMemberInfo 导入群成员信息.
ImportGroupMemberRequest 导入群成员请求.
ImportGroupMemberResponse 导入群成员响应.
ImportGroupMemberResponseItem 导入群成员响应条目.
ImportGroupMsgItem 导入群消息条目.
ImportGroupMsgRequest 导入群消息请求.
ImportGroupMsgResponse 导入群消息响应.
ImportGroupMsgResultItem 导入群消息结果条目.
ImportMsgRequest 消息导入请求.
LocationMsgContent 地理位置消息内容.
ModifyMemberInfoRequest 修改群组成员资料请求.
MsgBodyItem 消息体.
MsgHistory 历史消息.
MsgHistoryResponse 历史消息查询响应.
MsgRequest 发送消息请求.
MultiImportRequest 批量导入请求.
MultiImportResponse 批量导入响应.
NoSpeakingConfig 全局禁言配置项.
NoSpeakingResponse 查询全局禁言响应.
OfflinePushInfo 离线推送消息.
ProfileItem 资料单条项目.
PushReport 推送任务状态.
QueryAccountAttrResponse 查询用户属性响应.
QueryAppAttrResponse 查询应用推送属性请求.
QueryGroupListRequest 群组列表查询请求.
QueryPushReportRequest 推送任务查询请求.
QueryPushReportResponse 推送任务查询响应.
QueryRoleInGroupRequest 查询用户身份请求.
QueryStateRequest 用户在线状态查询请求.
QueryStateResponse 用户在线状态查询响应.
RegisterAccount 托管模式导入账号.
RemoveAccountAttrItem 删除用户属性.
RemoveAccountAttrRequest 删除用户属性请求.
Response 基本响应.
ResponseFilter 过滤器.
RoleInGroupResponse 用户身份查询响应.
SearchGroupRequest 搜索群组请求.
SearchGroupResponse 搜索群组响应.
SetAccountAttrRequest 设置用户属性请求.
SetAccountTagsRequest 用户标签操作请求.
SetNoSpeakingRequest 设置全局禁言请求.
SetProfileRequest 设置资料请求.
SetUnreadMsgNumRequest 设置成员未读消息计数请求.
ShuttedAccount 被禁言用户信息.
SNSCheckRequest 关系校验请求.
SNSDeleteRequest 删除关系请求.
SNSInfoItem 好友列表信息单条项目.
SNSRelationResponse 好友关系响应.
SNSResponseItem 关系链响应单条项目.
SoundMsgContent 语音消息内容,服务端不支持发送本类型消息.
SystemNotificationRequest 系统通知请求.
TextMsgContent 文本消息内容.
ToAccount ...
UserProfileItem 用户资料结构化信息.