Versions in this module Expand all Collapse all v1 v1.0.0 Apr 25, 2024 Changes in this version + const APP_PUBLIC_SERVICE + const CHATROOM + const CUSTOM + const ConversationTypeGroup + const ConversationTypePrivate + const ConversationTypeSystem + const ConversationTypeUG + const ConversationUnPushLevelAllMessage + const ConversationUnPushLevelAtAllGroupMembers + const ConversationUnPushLevelAtMessage + const ConversationUnPushLevelAtUser + const ConversationUnPushLevelNotRecv + const ConversationUnPushLevelNotSet + const DEFAULTTIMEOUT + const DEFAULT_CHANGE_URI_DURATION + const DEFAULT_KEEPALIVE + const DEFAULT_MAXIDLECONNSPERHOST + const DISCUSSION + const GROUP + const MessageGroupType + const MessagePrivateType + const PRIVATE + const PUBLIC_SERVICE + const RONGCLOUDSMSURI + const RONGCLOUDURI + const RONGCLOUDURI2 + const ReqType + const SYSTEM + const UGUnPushLevelAllMessage + const UGUnPushLevelAtAllGroupMembers + const UGUnPushLevelAtMessage + const UGUnPushLevelAtUser + const UGUnPushLevelNotRecv + const UGUnPushLevelNotSet + const ULTRA_GROUP + const USERAGENT + func RCErrorNew(code int, text string) error + func RCErrorNewV2(code int, text string) error + func WithKeepAlive(t time.Duration) rongCloudOption + func WithMaxIdleConnsPerHost(n int) rongCloudOption + func WithRongCloudSMSURI(rongCloudSMSURI string) rongCloudOption + func WithRongCloudURI(rongCloudURI string) rongCloudOption + func WithTimeout(t time.Duration) rongCloudOption + func WithTransport(transport http.RoundTripper) rongCloudOption + type AndroidPush struct + Alert string + ChannelId string + Classification string + Extras Extras + Image string + Importance string + LargeIconUri string + type Audience struct + IsToAll bool + PackageName string + Tag []string + TagOr []string + UserID []string + type BlacklistResult struct + Users []string + type BlockListResult struct + Users []User + type Broadcast struct + Audience Audience + FromUserID string + Message Message + Notification Notification + PlatForm []PlatForm + type BroadcastRecallContent struct + ConversationType int + IsAdmin int + IsDelete int + MessageId string + func (content *BroadcastRecallContent) ToString() (string, error) + type CMDMsg struct + Data string + Name string + User MsgUserInfo + func (msg *CMDMsg) ToString() (string, error) + type CMDNtf struct + Data string + Name string + User MsgUserInfo + func (msg *CMDNtf) ToString() (string, error) + type ChatRoom struct + ChatRoomID string + Name string + Time string + type ChatRoomAttr struct + AutoDelete string + Key string + LastSetTime string + UserID string + Value string + type ChatRoomAttrResult struct + Keys []ChatRoomAttr + type ChatRoomGetResult struct + ChatroomId string + Code int + CreateTime int64 + DestroyTime int + DestroyType int + IsBan bool + MemberCount int + type ChatRoomInfo struct + ID string + Name string + type ChatRoomKVNotiMessage struct + Extra string + Key string + Type int + Value string + func (msg *ChatRoomKVNotiMessage) ToString() (string, error) + type ChatRoomQueryResult struct + ChatRooms []ChatRoom + type ChatRoomResult struct + ChatRoomIDs []string + ObjectNames []string + Result []ChatRoomUser + Total int + Users []ChatRoomUser + WhitelistMsgType []string + type ChatRoomUser struct + ID string + IsInChrm int + Time string + UserID string + type ChatUserExistObj struct + Code int + IsInChrm bool + type ChatroomOption func(*chatroomOptions) + func WithChatroomDestroyTime(destroyTime int) ChatroomOption + func WithChatroomDestroyType(destroyType int) ChatroomOption + func WithChatroomEntryInfo(entryInfo map[string]interface{}) ChatroomOption + func WithChatroomEntryOwnerId(entryOwnerId string) ChatroomOption + func WithChatroomExtra(extra string) ChatroomOption + func WithChatroomIsBan(isBan bool) ChatroomOption + func WithChatroomNeedNotify(isNeedNotify bool) ChatroomOption + func WithChatroomWhiteUserIds(whiteUserIds []string) ChatroomOption + type CodeResult struct + Code int + ErrorMessage string + func (e CodeResult) Error() string + func (e CodeResult) ErrorCode() int + type CodeResultV2 struct + Code int + Message string + func (e CodeResultV2) Error() string + func (e CodeResultV2) ErrorCode() int + type ContactNtf struct + Extra string + Message string + Operation string + SourceUserID string + TargetUserID string + User MsgUserInfo + func (msg *ContactNtf) ToString() (string, error) + type ConversationType int + type DizNtf struct + Extension string + Operation string + Type int + User MsgUserInfo + func (msg *DizNtf) ToString() (string, error) + type Extras interface + ToJSON func() ([]byte, error) + type FileMsg struct + FileURL string + Name string + Size string + Type string + User MsgUserInfo + func (msg *FileMsg) ToString() (string, error) + type Group struct + ID string + Name string + Stat string + Users []GroupUser + type GroupInfo struct + GroupInfo []Group + type GroupRemarksGetObj struct + Code int + Remark string + type GroupUser struct + ID string + Time string + UserID string + type GroupUserQueryGroup struct + Id string + Name string + type GroupUserQueryObj struct + Code int + Groups []GroupUserQueryGroup + type GrpNtf struct + Data string + Extra string + Message string + Operation string + OperatorUserID string + User MsgUserInfo + func (msg *GrpNtf) ToString() (string, error) + type HQVCMsg struct + Duration interface{} + Extra string + LocalPath string + RemoteUrl string + User MsgUserInfo + func (msg *HQVCMsg) ToString() (string, error) + type History struct + URL string + type IMGTextMsg struct + Content string + Extra string + ImageUri string + Title string + URL string + User MsgUserInfo + func (msg *IMGTextMsg) ToString() (string, error) + type IOSPush struct + Alert string + ApnsCollapseId string + Badge int + Category string + ContentAvailable int + Extras Extras + RichMediaURI string + ThreadId string + Title string + type ImgMsg struct + Content string + Extra string + ImageURI string + User MsgUserInfo + func (msg *ImgMsg) ToString() (string, error) + type InfoNtf struct + Extra string + Message string + User MsgUserInfo + func (msg *InfoNtf) ToString() (string, error) + type LBSMsg struct + Content string + Extra string + Latitude float64 + Longitude float64 + POI string + User MsgUserInfo + func (msg *LBSMsg) ToString() (string, error) + type ListWordFilterResult struct + Words []SensitiveWord + type MentionMsgContent struct + Content string + MentionedInfo MentionedInfo + type MentionedInfo struct + PushContent string + Type int + UserIDs []string + type Message struct + Content string + ObjectName string + type MessageExpansionItem struct + Key string + Timestamp int64 + Value string + type MsgOption func(*msgOptions) + func WithExtraContent(extraContent string) MsgOption + func WithIsAdmin(isAdmin int) MsgOption + func WithIsDelete(isDelete int) MsgOption + func WithMsgBusChannel(busChannel string) MsgOption + func WithMsgContentAvailable(contentAvailable int) MsgOption + func WithMsgDisablePush(isDisablePush bool) MsgOption + func WithMsgExpansion(isExpansion bool) MsgOption + func WithMsgIsCounted(isCounted int) MsgOption + func WithMsgMentioned(isMentioned int) MsgOption + func WithMsgPushContent(pushContent string) MsgOption + func WithMsgPushData(pushData string) MsgOption + func WithMsgPushExt(pushExt string) MsgOption + func WithMsgVerifyBlacklist(verifyBlacklist int) MsgOption + type MsgUserInfo struct + Extra string + ID string + Icon string + Name string + Portrait string + type Notification struct + Alert string + Android AndroidPush + IOS IOSPush + type PlatForm string + const AndroidPlatForm + const IOSPlatForm + type ProfileNtf struct + Data string + Extra string + Operation string + User MsgUserInfo + func (msg *ProfileNtf) ToString() (string, error) + type Push struct + Audience Audience + Notification Notification + PlatForm []PlatForm + type PushCustomData struct + Audience struct{ ... } + Notification struct{ ... } + Platform []string + type PushCustomObj struct + Code int + Id string + type PushExt struct + ForceShowPushContent int + PushConfigs []map[string]map[string]string + TemplateId string + Title string + type PushNotification struct + Android map[string]interface{} + IOS IOSPush + PushContent string + Title string + type PushPeriodGet struct + Code int + Data struct{ ... } + type PushResult struct + ID string + type RespDataArray struct + Code int + Data map[string][]map[string]interface{} + type RespDataKV struct + Code int + Data map[string]interface{} + type RongCloud struct + func GetRongCloud() *RongCloud + func NewRongCloud(appKey, appSecret string, options ...rongCloudOption) *RongCloud + func (rc *RongCloud) AddWhiteList(userId string, whiteList []string) error + func (rc *RongCloud) BlacklistAdd(id string, blacklist []string) error + func (rc *RongCloud) BlacklistGet(id string) (BlacklistResult, error) + func (rc *RongCloud) BlacklistRemove(id string, blacklist []string) error + func (rc *RongCloud) BlockAdd(id string, minute uint64) error + func (rc *RongCloud) BlockGetList() (BlockListResult, error) + func (rc *RongCloud) BlockRemove(id string) error + func (rc *RongCloud) ChangeURI() + func (rc *RongCloud) ChatRoomBan(chatroomId string, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomBanAdd(members []string, minute uint, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomBanCheck(chatroomId string) (bool, error) + func (rc *RongCloud) ChatRoomBanGetList() ([]ChatRoomUser, error) + func (rc *RongCloud) ChatRoomBanQuery(size, page int) ([]string, error) + func (rc *RongCloud) ChatRoomBanRemove(members []string, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomBanRollback(chatroomId string, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomBlockAdd(id string, members []string, minute uint, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomBlockGetList(id string) (ChatRoomResult, error) + func (rc *RongCloud) ChatRoomBlockRemove(id string, members []string, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomBroadcast(senderID, objectName string, msg rcMsg, isIncludeSender ...string) error + func (rc *RongCloud) ChatRoomCreate(id, name string) error + func (rc *RongCloud) ChatRoomCreateNew(chatroomId string, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomDemotionAdd(objectNames []string) error + func (rc *RongCloud) ChatRoomDemotionGetList() ([]string, error) + func (rc *RongCloud) ChatRoomDemotionRemove(objectNames []string) error + func (rc *RongCloud) ChatRoomDestroy(id string) error + func (rc *RongCloud) ChatRoomDestroySet(chatroomId string, destroyType, destroyTime int) error + func (rc *RongCloud) ChatRoomDistributionResume(id string) error + func (rc *RongCloud) ChatRoomDistributionStop(id string) error + func (rc *RongCloud) ChatRoomEntryBatchSet(chatroomId string, autoDelete int, entryOwnerId string, ...) error + func (rc *RongCloud) ChatRoomEntryQuery(chatRoomID string, keys ...string) ([]ChatRoomAttr, error) + func (rc *RongCloud) ChatRoomEntryRemove(chatRoomID, userID, key string) error + func (rc *RongCloud) ChatRoomEntrySet(chatRoomID, userID, key, value string, autoDelete bool) error + func (rc *RongCloud) ChatRoomGagAdd(id string, members []string, minute uint, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomGagGetList(id string) ([]ChatRoomUser, error) + func (rc *RongCloud) ChatRoomGagRemove(id string, members []string, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomGet(id string, count, order int) (ChatRoomResult, error) + func (rc *RongCloud) ChatRoomGetNew(chatroomId string) (ChatRoomGetResult, error) + func (rc *RongCloud) ChatRoomIsExist(id string, members []string) ([]ChatRoomUser, error) + func (rc *RongCloud) ChatRoomKeepAliveAdd(id string) error + func (rc *RongCloud) ChatRoomKeepAliveGetList() ([]string, error) + func (rc *RongCloud) ChatRoomKeepAliveRemove(id string) error + func (rc *RongCloud) ChatRoomMuteMembersAdd(id string, members []string, minute uint, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomMuteMembersGetList(id string) ([]ChatRoomUser, error) + func (rc *RongCloud) ChatRoomMuteMembersRemove(id string, members []string, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomQuery(chatRoomID []string) ([]ChatRoom, error) + func (rc *RongCloud) ChatRoomRecall(userId string, targetId string, messageId string, sentTime int, ...) error + func (rc *RongCloud) ChatRoomSend(senderID string, targetID []string, objectName string, msg rcMsg, ...) error + func (rc *RongCloud) ChatRoomUserBanWhitelistAdd(chatroomId string, members []string, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomUserBanWhitelistQuery(chatroomId string) ([]string, error) + func (rc *RongCloud) ChatRoomUserBanWhitelistRollback(chatroomId string, members []string, options ...ChatroomOption) error + func (rc *RongCloud) ChatRoomUserWhitelistAdd(id string, members []string) error + func (rc *RongCloud) ChatRoomUserWhitelistGetList(id string) ([]string, error) + func (rc *RongCloud) ChatRoomUserWhitelistRemove(id string, members []string) error + func (rc *RongCloud) ChatRoomWhitelistAdd(objectNames []string) error + func (rc *RongCloud) ChatRoomWhitelistGetList() ([]string, error) + func (rc *RongCloud) ChatRoomWhitelistRemove(objectNames []string) error + func (rc *RongCloud) ChatUserExist(chatroomId, userId string) ([]byte, error) + func (rc *RongCloud) ChatUserExistResObj(chatroomId, userId string) (ChatUserExistObj, error) + func (rc *RongCloud) ConversationGet(conversationType ConversationType, userID, targetID string, ...) (int, error) + func (rc *RongCloud) ConversationMute(conversationType ConversationType, userID, targetID string, ...) error + func (rc *RongCloud) ConversationNotificationGet(ct ConversationType, requestId, targetId, busChannel string) (int, error) + func (rc *RongCloud) ConversationNotificationSet(ct ConversationType, requestId, targetId, busChannel string, ...) error + func (rc *RongCloud) ConversationTop(conversationType ConversationType, userId, targetId, setTop string) error + func (rc *RongCloud) ConversationTypeNotificationGet(ct ConversationType, requestId string) (int, error) + func (rc *RongCloud) ConversationTypeNotificationSet(ct ConversationType, requestId string, unPushLevel int) error + func (rc *RongCloud) ConversationUnmute(conversationType ConversationType, userID, targetID string, ...) error + func (rc *RongCloud) DeleteMessageExpansion(msgUID, userId, conversationType, targetId string, isSyncSender int, ...) error + func (rc *RongCloud) GetHttpTransport() http.RoundTripper + func (rc *RongCloud) GroupCreate(id, name string, members []string) error + func (rc *RongCloud) GroupDismiss(id, member string) error + func (rc *RongCloud) GroupGagAdd(id string, members []string, minute int) error + func (rc *RongCloud) GroupGagList(id string) (Group, error) + func (rc *RongCloud) GroupGagRemove(id string, members []string) error + func (rc *RongCloud) GroupGet(id string) (Group, error) + func (rc *RongCloud) GroupJoin(groupId, groupName string, memberId ...string) error + func (rc *RongCloud) GroupMuteAllMembersAdd(members []string) error + func (rc *RongCloud) GroupMuteAllMembersGetList(members []string) (GroupInfo, error) + func (rc *RongCloud) GroupMuteAllMembersRemove(members []string) error + func (rc *RongCloud) GroupMuteMembersAdd(id string, members []string, minute int) error + func (rc *RongCloud) GroupMuteMembersGetList(id string) (Group, error) + func (rc *RongCloud) GroupMuteMembersRemove(id string, members []string) error + func (rc *RongCloud) GroupMuteWhiteListUserAdd(id string, members []string) error + func (rc *RongCloud) GroupMuteWhiteListUserGetList(id string) ([]string, error) + func (rc *RongCloud) GroupMuteWhiteListUserRemove(id string, members []string) error + func (rc *RongCloud) GroupQuit(member []string, id string) error + func (rc *RongCloud) GroupRecall(senderID, targetID, uID string, sentTime int, options ...MsgOption) error + func (rc *RongCloud) GroupRemarksDel(userId string, groupId string) error + func (rc *RongCloud) GroupRemarksGet(userId string, groupId string) ([]byte, error) + func (rc *RongCloud) GroupRemarksGetResObj(userId string, groupId string) (GroupRemarksGetObj, error) + func (rc *RongCloud) GroupRemarksSet(userId string, groupId string, remark string) error + func (rc *RongCloud) GroupSend(senderID string, targetID, userID []string, objectName string, msg rcMsg, ...) error + func (rc *RongCloud) GroupSendMention(senderID string, targetID []string, objectName string, msg MentionMsgContent, ...) error + func (rc *RongCloud) GroupStatusSend(senderID string, toGroupIds []string, objectName string, msg rcMsg, ...) error + func (rc *RongCloud) GroupSync(id string, groups []Group) error + func (rc *RongCloud) GroupUpdate(id, name string) error + func (rc *RongCloud) GroupUserGagAdd(userId string, groupId string, minute string) error + func (rc *RongCloud) GroupUserQuery(userId string) ([]byte, error) + func (rc *RongCloud) GroupUserQueryResObj(userId string) (GroupUserQueryObj, error) + func (rc *RongCloud) HistoryGet(date string) (History, error) + func (rc *RongCloud) HistoryRemove(date string) error + func (rc *RongCloud) MessageBroadcastRecall(userId string, objectName string, content BroadcastRecallContent) error + func (rc *RongCloud) MessageExpansionDel(msgUID, userId, conversationType, targetId, extraKey string, isSyncSender int) error + func (rc *RongCloud) MessageExpansionSet(msgUID, userId, conversationType, targetId, extraKeyVal string, ...) error + func (rc *RongCloud) OnlineBroadcast(fromUserId string, objectName string, content string) ([]byte, error) + func (rc *RongCloud) OnlineStatusCheck(userID string) (int, error) + func (rc *RongCloud) PrivateRecall(senderID, targetID, uID string, sentTime int, options ...MsgOption) error + func (rc *RongCloud) PrivateSend(senderID string, targetID []string, objectName string, msg rcMsg, ...) error + func (rc *RongCloud) PrivateSendTemplate(senderID, objectName string, template TXTMsg, content []TemplateMsgContent, ...) error + func (rc *RongCloud) PrivateStatusSend(senderID string, targetID []string, objectName string, msg rcMsg, ...) error + func (rc *RongCloud) PrivateURI(uri, sms string) + func (rc *RongCloud) PushCustom(p []byte) ([]byte, error) + func (rc *RongCloud) PushCustomObj(data PushCustomData) (PushCustomObj, error) + func (rc *RongCloud) PushCustomResObj(p []byte) (PushCustomObj, error) + func (rc *RongCloud) PushSend(sender Sender) (PushResult, error) + func (rc *RongCloud) PushUser(notification *PushNotification, users ...string) error + func (rc *RongCloud) QueryMessageExpansion(msgUID string, page int) ([]MessageExpansionItem, error) + func (rc *RongCloud) QueryWhiteList(userId string) (WhiteList, error) + func (rc *RongCloud) RemoveWhiteList(userId string, whiteList []string) error + func (rc *RongCloud) SensitiveAdd(keyword, replace string, sensitiveType int) error + func (rc *RongCloud) SensitiveGetList() (ListWordFilterResult, error) + func (rc *RongCloud) SensitiveRemove(keywords []string) error + func (rc *RongCloud) SetHttpTransport(httpTransport http.RoundTripper) + func (rc *RongCloud) SetMessageExpansion(msgUID, userId, conversationType, targetId string, extra map[string]string, ...) error + func (rc *RongCloud) SystemBroadcast(senderID, objectName string, msg rcMsg, options ...MsgOption) error + func (rc *RongCloud) SystemRecall(userId string, targetId string, messageId string, sentTime int, ...) error + func (rc *RongCloud) SystemSend(senderID string, targetID []string, objectName string, msg rcMsg, ...) error + func (rc *RongCloud) SystemSendTemplate(senderID, objectName string, template TXTMsg, content []TemplateMsgContent, ...) error + func (rc *RongCloud) TagBatchSet(tagBatch TagBatch) error + func (rc *RongCloud) TagGet(userIds []string) (TagResult, error) + func (rc *RongCloud) TagSet(tag Tag) error + func (rc *RongCloud) UGChannelCreate(groupId, channelId string) (err error, requestId string) + func (rc *RongCloud) UGChannelDelete(groupId, channelId string) (err error, requestId string) + func (rc *RongCloud) UGChannelPrivateUserAdd(groupId, busChannel, userIds string) ([]byte, error) + func (rc *RongCloud) UGChannelPrivateUserAddResObj(groupId, busChannel, userIds string) (UGChannelPrivateUserAddObj, error) + func (rc *RongCloud) UGChannelPrivateUserDel(groupId, busChannel, userIds string) ([]byte, error) + func (rc *RongCloud) UGChannelPrivateUserDelResObj(groupId, busChannel, userIds string) (UGChannelPrivateUserDelObj, error) + func (rc *RongCloud) UGChannelPrivateUserGet(groupId, busChannel, page, pageSize string) ([]byte, error) + func (rc *RongCloud) UGChannelPrivateUserGetResObj(groupId, busChannel, page, pageSize string) (UGChannelPrivateUserGetObj, error) + func (rc *RongCloud) UGChannelQuery(groupId string, page, size int) (channels []UGChannelInfo, err error, requestId string) + func (rc *RongCloud) UGChannelUserGroupBind(groupId, busChannel string, userGroupIds []string) (err error) + func (rc *RongCloud) UGChannelUserGroupQuery(groupId, busChannel string, page, pageSize int) (userGroupIds []string, err error) + func (rc *RongCloud) UGChannelUserGroupUnbind(groupId, busChannel string, userGroupIds []string) (err error) + func (rc *RongCloud) UGGroupChannelChange(groupId, busChannel, t string) ([]byte, error) + func (rc *RongCloud) UGGroupChannelChangeResObj(groupId, busChannel, t string) (UGGroupChannelChangeObj, error) + func (rc *RongCloud) UGGroupChannelCreate(groupId, busChannel, t string) ([]byte, error) + func (rc *RongCloud) UGGroupChannelGet(groupId string, page, limit int) ([]byte, error) + func (rc *RongCloud) UGGroupCreate(userId, groupId, groupName string) (err error, requestId string) + func (rc *RongCloud) UGGroupDismiss(groupId string) (err error, requestId string) + func (rc *RongCloud) UGGroupJoin(userId, groupId string) (err error, requestId string) + func (rc *RongCloud) UGGroupMuteMembersAdd(groupId string, userIds []string) (err error, requestId string) + func (rc *RongCloud) UGGroupMuteMembersGetList(groupId string) (users []UGUserInfo, err error, requestId string) + func (rc *RongCloud) UGGroupMuteMembersRemove(groupId string, userIds []string) (err error, requestId string) + func (rc *RongCloud) UGGroupMuted(groupId string, status bool) (err error, requestId string) + func (rc *RongCloud) UGGroupMutedQuery(groupId string) (status bool, err error, requestId string) + func (rc *RongCloud) UGGroupMutedWhitelistAdd(groupId string, userIds []string) (err error, requestId string) + func (rc *RongCloud) UGGroupMutedWhitelistQuery(groupId string) (users []UGUserInfo, err error, requestId string) + func (rc *RongCloud) UGGroupMutedWhitelistRemove(groupId string, userIds []string) (err error, requestId string) + func (rc *RongCloud) UGGroupQuit(userId, groupId string) (err error, requestId string) + func (rc *RongCloud) UGGroupSend(msg UGMessage) (err error, requestId string) + func (rc *RongCloud) UGGroupUpdate(groupId, groupName string) (err error, requestId string) + func (rc *RongCloud) UGHisMsgIdQuery(groupId, busChannel, msgUID, prevNum, lastNum string) (UGHisMsgIdQueryResp, error) + func (rc *RongCloud) UGHistoryQuery(groupId, busChannel string, startTime, endTime int64, fromUserId string, ...) (UGHisMsgQueryResp, error) + func (rc *RongCloud) UGMemberExists(groupId, userId string) (bool, error) + func (rc *RongCloud) UGMessageExpansionDelete(groupId, userId, msgUID, busChannel string, keys ...string) error + func (rc *RongCloud) UGMessageExpansionQuery(groupId, msgUID, busChannel string) ([]UGMessageExpansionItem, error) + func (rc *RongCloud) UGMessageExpansionSet(groupId, userId, msgUID, busChannel string, extra map[string]string) error + func (rc *RongCloud) UGMessageGet(groupId string, msgList []UGMessageData, options ...MsgOption) ([]byte, error) + func (rc *RongCloud) UGMessageGetObj(groupId string, msgList []UGMessageData, options ...MsgOption) (UGMessageGetData, error) + func (rc *RongCloud) UGMessageModify(groupId, fromUserId, msgUID, content string, options ...UgMessageExtension) ([]byte, error) + func (rc *RongCloud) UGMessagePublish(...) error + func (rc *RongCloud) UGMessageRecall(userId, targetId, messageId string, sentTime int, options ...MsgOption) error + func (rc *RongCloud) UGNotDisturbGet(groupId, busChannel string) (*UGNotDisturbGetResponses, error) + func (rc *RongCloud) UGNotDisturbSet(groupId string, unPushLevel int, busChannel string) error + func (rc *RongCloud) UGQueryGroupUsers(groupId string, page, size int) (users []UGUserInfo, err error, requestId string) + func (rc *RongCloud) UGQueryUserGroups(userId string, page, size int) (groups []UGGroupInfo, err error, requestId string) + func (rc *RongCloud) UGUserChannelQuery(groupId, userId string, page, pageSize int) (busChannelIds []string, err error) + func (rc *RongCloud) UGUserGroupAdd(groupId string, userGroups []UGUserGroupInfo) (err error) + func (rc *RongCloud) UGUserGroupChannelQuery(groupId, userGroupId string, page, pageSize int) (busChannelIds []string, err error) + func (rc *RongCloud) UGUserGroupDelete(groupId string, userGroupIds []string) (err error) + func (rc *RongCloud) UGUserGroupQuery(groupId string, page, pageSize int) (userGroups []UGUserGroupInfo, err error) + func (rc *RongCloud) UGUserGroupUserAdd(groupId, userGroupId string, userIds []string) (err error) + func (rc *RongCloud) UGUserGroupUserDelete(groupId, userGroupId string, userIds []string) (err error) + func (rc *RongCloud) UGUserUserGroupQuery(groupId, userId string, page, pageSize int) (userGroupIds []string, err error) + func (rc *RongCloud) UltraGroupBannedWhiteListAdd(groupId, busChannel string, userIds ...string) error + func (rc *RongCloud) UltraGroupBannedWhiteListDel(groupId, busChannel string, userIds ...string) error + func (rc *RongCloud) UltraGroupBannedWhiteListGet(groupId, busChannel string, page, pageSize int) ([]UltraGroupBannedWhiteListGetResponseItem, error) + func (rc *RongCloud) UltraGroupChannelCreate(groupId, busChannel string) error + func (rc *RongCloud) UltraGroupChannelDel(groupId, busChannel string) error + func (rc *RongCloud) UltraGroupChannelGet(groupId string, page, limit int) ([]UltraGroupChannelGetResponseItem, error) + func (rc *RongCloud) UltraGroupCreate(userId, groupId, groupName string) error + func (rc *RongCloud) UltraGroupDis(groupId string) error + func (rc *RongCloud) UltraGroupGlobalBannedGet(groupId, busChannel string) (bool, error) + func (rc *RongCloud) UltraGroupGlobalBannedSet(groupId, busChannel string, status bool) error + func (rc *RongCloud) UltraGroupJoin(userId, groupId string) error + func (rc *RongCloud) UltraGroupQuit(userId, groupId string) error + func (rc *RongCloud) UltraGroupRefresh(groupId, groupName string) error + func (rc *RongCloud) UltraGroupUserBannedAdd(groupId, busChannel string, userIds ...string) error + func (rc *RongCloud) UltraGroupUserBannedDel(groupId, busChannel string, userIds ...string) error + func (rc *RongCloud) UltraGroupUserBannedGet(groupId, busChannel string, page, pageSize int) ([]UltraGroupUserBannedResponseItem, error) + func (rc *RongCloud) UserBlockPushPeriodDelete(userId string) error + func (rc *RongCloud) UserBlockPushPeriodGet(userId string) (PushPeriodGet, error) + func (rc *RongCloud) UserBlockPushPeriodSet(userId, startTime, period, level string) error + func (rc *RongCloud) UserChatFbQueryList(num, offset int, t string) ([]byte, error) + func (rc *RongCloud) UserChatFbQueryListResObj(num, offset int, t string) (UserChatFbQueryListObj, error) + func (rc *RongCloud) UserChatFbSet(userId string, state int, t string) error + func (rc *RongCloud) UserDeactivate(userIds []string) (*UserDeactivateResponse, error) + func (rc *RongCloud) UserDeactivateQuery(pageNo, pageSize int) (*UserDeactivateQueryResponse, error) + func (rc *RongCloud) UserReactivate(userIds []string) (*UserReactivateResponse, error) + func (rc *RongCloud) UserRegister(userID, name, portraitURI string) (User, error) + func (rc *RongCloud) UserRemarksDel(userId, targetId string) error + func (rc *RongCloud) UserRemarksGet(userId string, page, size int) ([]byte, error) + func (rc *RongCloud) UserRemarksGetResObj(userId string, page, size int) (UserRemarksGetObj, error) + func (rc *RongCloud) UserRemarksSet(userId string, remarks []UserRemark) error + func (rc *RongCloud) UserTokenExpire(userId string, t int64) ([]byte, error) + func (rc *RongCloud) UserTokenExpireResObj(userId string, t int64) (UserTokenExpireObj, error) + func (rc *RongCloud) UserUpdate(userID, name, portraitURI string) error + type Sender interface + type SensitiveWord struct + ReplaceWord string + Type string + Word string + type TXTMsg struct + Content string + Extra string + User MsgUserInfo + func (msg *TXTMsg) ToString() (string, error) + type Tag struct + Tags []string + UserID string + type TagBatch struct + Tags []string + UserIDs []string + type TagResult struct + Result map[string][]string + type TemplateMsgContent struct + Data map[string]string + PushContent string + PushData string + TargetID string + type UGChannelInfo struct + ChannelId string + CreateTime string + type UGChannelPrivateUserAddObj struct + Code int + type UGChannelPrivateUserDelObj struct + Code int + type UGChannelPrivateUserGetObj struct + Code int + Users []string + type UGGroupChannelChangeObj struct + Code int + type UGGroupInfo struct + GroupId string + GroupName string + type UGHisMsgIdQueryData struct + BusChannel string + Content string + ConversionType int + Expansion bool + ExtraContent string + FromUserId string + GroupId string + MsgTime int64 + MsgUID string + ObjectName string + type UGHisMsgIdQueryResp struct + Code int + Data []UGHisMsgIdQueryData + type UGHisMsgQueryData struct + BusChannel string + Content string + ConversionType int + Expansion bool + ExtraContent string + FromUserId string + GroupId string + MsgTime int64 + MsgUID string + ObjectName string + type UGHisMsgQueryResp struct + Code int + Data []UGHisMsgQueryData + type UGMessage struct + BusChannel string + Content string + FromUserId string + IncludeSenderEnable bool + MentionedFlag bool + ObjectName string + PushContent string + PushData string + PushExt string + SilencePush bool + StoreFlag bool + ToGroupIds []string + ToUserIds []string + type UGMessageData struct + BusChannel string + MsgUid string + type UGMessageExpansionItem struct + Key string + Timestamp int64 + Value string + type UGMessageGetData struct + Code int + Data []UGMessageGetDataList + type UGMessageGetDataList struct + BusChannel string + Content string + Expansion bool + ExtraContent string + FromUserId string + GroupId string + MsgUid string + ObjectName string + SentTime uint64 + type UGNotDisturbGetResponses struct + BusChannel string + GroupId string + UnPushLevel int + type UGUserGroupInfo struct + UserGroupId string + type UGUserInfo struct + Id string + MutedTime string + type UgMessageExtension struct + BusChannel string + MsgRandom int64 + type UltraGroupBannedWhiteListGetResponseItem struct + Id string + type UltraGroupChannelGetResponseItem struct + ChannelId string + CreateTime string + Type int + type UltraGroupUserBannedResponseItem struct + Id string + type User struct + BlockEndTime string + Status string + Token string + UserID string + type UserChatFbQueryListObj struct + Code int + Total int + Users []string + type UserDeactivateQueryResponse struct + Code int + Users []string + type UserDeactivateResponse struct + Code int + OperateId string + type UserReactivateResponse struct + Code int + OperateId string + type UserRemark struct + Id string + Remark string + type UserRemarksGetObj struct + Code int + Total int + Users []UserRemarksUsers + type UserRemarksUsers struct + Id string + Remark string + type UserTokenExpireObj struct + Code int + type VCMsg struct + Content string + Duration interface{} + Extra string + User MsgUserInfo + func (msg *VCMsg) ToString() (string, error) + type WhiteList struct + Users []string