Documentation ¶
Index ¶
- Variables
- func AcceptFriendApplication(callback open_im_sdk_callback.Base, operationID string, userIDHandleMsg string)
- func AcceptGroupApplication(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func AddBlack(callback open_im_sdk_callback.Base, operationID string, blackUserID string)
- func AddFriend(callback open_im_sdk_callback.Base, operationID string, userIDReqMsg string)
- func BaseCaller(funcName interface{}, callback open_im_sdk_callback.Base, args ...interface{})
- func ChangeGroupMemberMute(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func ChangeGroupMute(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func CheckFriend(callback open_im_sdk_callback.Base, operationID string, userIDList string)
- func CheckResourceLoad(uSDK *login.LoginMgr, funcName string) error
- func CheckToken(userID, token string, operationID string) error
- func ClearConversationAndDeleteAllMsg(callback open_im_sdk_callback.Base, operationID string, conversationID string)
- func CreateAdvancedQuoteMessage(operationID string, text string, message, messageEntityList string) string
- func CreateAdvancedTextMessage(operationID string, text, messageEntityList string) string
- func CreateCardMessage(operationID string, cardInfo string) string
- func CreateCustomMessage(operationID string, data, extension string, description string) string
- func CreateFaceMessage(operationID string, index int, data string) string
- func CreateFileMessage(operationID string, filePath string, fileName string) string
- func CreateFileMessageByURL(operationID string, fileBaseInfo string) string
- func CreateFileMessageFromFullPath(operationID string, fileFullPath, fileName string) string
- func CreateForwardMessage(operationID string, m string) string
- func CreateGroup(callback open_im_sdk_callback.Base, operationID string, groupReqInfo string)
- func CreateImageMessage(operationID string, imagePath string) string
- func CreateImageMessageByURL(operationID string, sourcePath string, ...) string
- func CreateImageMessageFromFullPath(operationID string, imageFullPath string) string
- func CreateLocationMessage(operationID string, description string, longitude, latitude float64) string
- func CreateMergerMessage(operationID string, messageList, title, summaryList string) string
- func CreateQuoteMessage(operationID string, text string, message string) string
- func CreateSoundMessage(operationID string, soundPath string, duration int64) string
- func CreateSoundMessageByURL(operationID string, soundBaseInfo string) string
- func CreateSoundMessageFromFullPath(operationID string, soundPath string, duration int64) string
- func CreateTextAtMessage(operationID string, text, atUserList, atUsersInfo, message string) string
- func CreateTextMessage(operationID string, text string) string
- func CreateVideoMessage(operationID string, videoPath string, videoType string, duration int64, ...) string
- func CreateVideoMessageByURL(operationID string, videoBaseInfo string) string
- func CreateVideoMessageFromFullPath(operationID string, videoFullPath string, videoType string, duration int64, ...) string
- func DeleteAllMsgFromLocal(callback open_im_sdk_callback.Base, operationID string)
- func DeleteAllMsgFromLocalAndSvr(callback open_im_sdk_callback.Base, operationID string)
- func DeleteConversationAndDeleteAllMsg(callback open_im_sdk_callback.Base, operationID string, conversationID string)
- func DeleteFriend(callback open_im_sdk_callback.Base, operationID string, friendUserID string)
- func DeleteMessage(callback open_im_sdk_callback.Base, operationID string, conversationID string, ...)
- func DeleteMessageFromLocalStorage(callback open_im_sdk_callback.Base, operationID string, conversationID string, ...)
- func DismissGroup(callback open_im_sdk_callback.Base, operationID string, groupID string)
- func FindMessageList(callback open_im_sdk_callback.Base, operationID string, ...)
- func GetAdvancedHistoryMessageList(callback open_im_sdk_callback.Base, operationID string, ...)
- func GetAdvancedHistoryMessageListReverse(callback open_im_sdk_callback.Base, operationID string, ...)
- func GetAllConversationList(callback open_im_sdk_callback.Base, operationID string)
- func GetAtAllTag(operationID string) string
- func GetBlackList(callback open_im_sdk_callback.Base, operationID string)
- func GetConversationIDBySessionType(operationID string, sourceID string, sessionType int) string
- func GetConversationListSplit(callback open_im_sdk_callback.Base, operationID string, offset int, count int)
- func GetConversationRecvMessageOpt(callback open_im_sdk_callback.Base, operationID string, ...)
- func GetFriendApplicationListAsApplicant(callback open_im_sdk_callback.Base, operationID string)
- func GetFriendApplicationListAsRecipient(callback open_im_sdk_callback.Base, operationID string)
- func GetFriendList(callback open_im_sdk_callback.Base, operationID string)
- func GetFriendListPage(callback open_im_sdk_callback.Base, operationID string, offset int32, ...)
- func GetGroupApplicationListAsApplicant(callback open_im_sdk_callback.Base, operationID string)
- func GetGroupApplicationListAsRecipient(callback open_im_sdk_callback.Base, operationID string)
- func GetGroupMemberList(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func GetGroupMemberListByJoinTimeFilter(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func GetGroupMemberOwnerAndAdmin(callback open_im_sdk_callback.Base, operationID string, groupID string)
- func GetJoinedGroupList(callback open_im_sdk_callback.Base, operationID string)
- func GetLoginStatus(operationID string) int
- func GetLoginUserID() string
- func GetMultipleConversation(callback open_im_sdk_callback.Base, operationID string, ...)
- func GetOneConversation(callback open_im_sdk_callback.Base, operationID string, sessionType int32, ...)
- func GetSdkVersion() string
- func GetSelfUserInfo(callback open_im_sdk_callback.Base, operationID string)
- func GetSpecifiedFriendsInfo(callback open_im_sdk_callback.Base, operationID string, userIDList string)
- func GetSpecifiedGroupMembersInfo(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func GetSpecifiedGroupsInfo(callback open_im_sdk_callback.Base, operationID string, groupIDList string)
- func GetSubscribeUsersStatus(callback open_im_sdk_callback.Base, operationID string)
- func GetTotalUnreadMsgCount(callback open_im_sdk_callback.Base, operationID string)
- func GetUserStatus(callback open_im_sdk_callback.Base, operationID string, userIDs string)
- func GetUserWorker(uid string) *login.LoginMgr
- func GetUsersInfo(callback open_im_sdk_callback.Base, operationID string, userIDs string)
- func GetUsersInfoFromSrv(callback open_im_sdk_callback.Base, operationID string, userIDs string)
- func GetUsersInfoWithCache(callback open_im_sdk_callback.Base, operationID string, ...)
- func HideAllConversations(callback open_im_sdk_callback.Base, operationID string)
- func HideConversation(callback open_im_sdk_callback.Base, operationID string, conversationID string)
- func InitOnce(config *sdk_struct.IMConfig) bool
- func InitSDK(listener open_im_sdk_callback.OnConnListener, operationID string, ...) bool
- func InsertGroupMessageToLocalStorage(callback open_im_sdk_callback.Base, operationID string, message string, ...)
- func InsertSingleMessageToLocalStorage(callback open_im_sdk_callback.Base, operationID string, message string, ...)
- func InviteUserToGroup(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func IsJoinGroup(callback open_im_sdk_callback.Base, operationID string, groupID string)
- func JoinGroup(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func KickGroupMember(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func Login(callback open_im_sdk_callback.Base, operationID string, userID, token string)
- func Logout(callback open_im_sdk_callback.Base, operationID string)
- func MarkConversationMessageAsRead(callback open_im_sdk_callback.Base, operationID string, conversationID string)
- func MarkMessagesAsReadByMsgID(callback open_im_sdk_callback.Base, operationID string, conversationID string, ...)
- func NetworkStatusChanged(callback open_im_sdk_callback.Base, operationID string)
- func PinConversation(callback open_im_sdk_callback.Base, operationID string, conversationID string, ...)
- func QuitGroup(callback open_im_sdk_callback.Base, operationID string, groupID string)
- func RefuseFriendApplication(callback open_im_sdk_callback.Base, operationID string, userIDHandleMsg string)
- func RefuseGroupApplication(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func RemoveBlack(callback open_im_sdk_callback.Base, operationID string, removeUserID string)
- func ResetConversationGroupAtType(callback open_im_sdk_callback.Base, operationID string, conversationID string)
- func RevokeMessage(callback open_im_sdk_callback.Base, operationID string, ...)
- func SearchFriends(callback open_im_sdk_callback.Base, operationID string, searchParam string)
- func SearchGroupMembers(callback open_im_sdk_callback.Base, operationID string, searchParam string)
- func SearchGroups(callback open_im_sdk_callback.Base, operationID string, searchParam string)
- func SearchLocalMessages(callback open_im_sdk_callback.Base, operationID string, searchParam string)
- func SendMessage(callback open_im_sdk_callback.SendMsgCallBack, ...)
- func SendMessageByBuffer(callback open_im_sdk_callback.SendMsgCallBack, operationID string, ...)
- func SendMessageCaller(funcName interface{}, callback open_im_sdk_callback.SendMsgCallBack, ...)
- func SendMessageNotOss(callback open_im_sdk_callback.SendMsgCallBack, operationID string, ...)
- func SetAdvancedMsgListener(listener open_im_sdk_callback.OnAdvancedMsgListener)
- func SetAppBackgroundStatus(callback open_im_sdk_callback.Base, operationID string, isBackground bool)
- func SetAppBadge(callback open_im_sdk_callback.Base, operationID string, appUnreadCount int32)
- func SetBatchMsgListener(listener open_im_sdk_callback.OnBatchMsgListener)
- func SetConversationBurnDuration(callback open_im_sdk_callback.Base, operationID string, conversationID string, ...)
- func SetConversationDraft(callback open_im_sdk_callback.Base, operationID string, conversationID string, ...)
- func SetConversationIsMsgDestruct(callback open_im_sdk_callback.Base, operationID string, conversationID string, ...)
- func SetConversationListener(listener open_im_sdk_callback.OnConversationListener)
- func SetConversationMsgDestructTime(callback open_im_sdk_callback.Base, operationID string, conversationID string, ...)
- func SetConversationPrivateChat(callback open_im_sdk_callback.Base, operationID string, conversationID string, ...)
- func SetConversationRecvMessageOpt(callback open_im_sdk_callback.Base, operationID string, conversationID string, ...)
- func SetCustomBusinessListener(listener open_im_sdk_callback.OnCustomBusinessListener)
- func SetFriendListener(listener open_im_sdk_callback.OnFriendshipListener)
- func SetFriendRemark(callback open_im_sdk_callback.Base, operationID string, userIDRemark string)
- func SetGlobalRecvMessageOpt(callback open_im_sdk_callback.Base, operationID string, opt int)
- func SetGroupApplyMemberFriend(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func SetGroupInfo(callback open_im_sdk_callback.Base, operationID string, groupInfo string)
- func SetGroupListener(callback open_im_sdk_callback.OnGroupListener)
- func SetGroupLookMemberInfo(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func SetGroupMemberInfo(callback open_im_sdk_callback.Base, operationID string, groupMemberInfo string)
- func SetGroupMemberNickname(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func SetGroupMemberRoleLevel(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func SetGroupVerification(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func SetHeartbeatInterval(heartbeatInterval int)
- func SetMessageKvInfoListener(listener open_im_sdk_callback.OnMessageKvInfoListener)
- func SetMessageLocalEx(callback open_im_sdk_callback.Base, operationID string, ...)
- func SetSelfInfo(callback open_im_sdk_callback.Base, operationID string, userInfo string)
- func SetUserListener(listener open_im_sdk_callback.OnUserListener)
- func SubscribeUsersStatus(callback open_im_sdk_callback.Base, operationID string, userIDs string)
- func TransferGroupOwner(callback open_im_sdk_callback.Base, operationID string, groupID string, ...)
- func TypingStatusUpdate(callback open_im_sdk_callback.Base, operationID string, recvID string, ...)
- func UnInitSDK(operationID string)
- func UnsubscribeUsersStatus(callback open_im_sdk_callback.Base, operationID string, userIDs string)
- func UpdateFcmToken(callback open_im_sdk_callback.Base, operationID, fcmToken string, ...)
- func UpdateMsgSenderInfo(callback open_im_sdk_callback.Base, operationID string, ...)
- func UploadFile(callback open_im_sdk_callback.Base, operationID string, req string, ...)
- func UploadLogs(callback open_im_sdk_callback.Base, operationID string, uploadLogParams string)
- type Caller
Constants ¶
This section is empty.
Variables ¶
var ( UserSDKRwLock sync.RWMutex // userMap for web and pc UserRouterMap map[string]*login.LoginMgr // Client-independent user class UserForSDK *login.LoginMgr )
var ErrNotSetCallback = errors.New("not set callback to call")
var ErrNotSetFunc = errors.New("not set funcation to call")
Functions ¶
func AcceptFriendApplication ¶
func AcceptFriendApplication(callback open_im_sdk_callback.Base, operationID string, userIDHandleMsg string)
func AcceptGroupApplication ¶
func AddBlack ¶
func AddBlack(callback open_im_sdk_callback.Base, operationID string, blackUserID string)
func AddFriend ¶
func AddFriend(callback open_im_sdk_callback.Base, operationID string, userIDReqMsg string)
func BaseCaller ¶
func BaseCaller(funcName interface{}, callback open_im_sdk_callback.Base, args ...interface{})
BaseCaller calls the SDK's basic caller by checking the arguments and verifying the callback. First, it checks that the number of arguments is correct and gets the operation ID. Then, it checks that the resources have been loaded, and returns an error if they have not. Finally, it uses reflection to call the function, passing in the callback and arguments, and runs the function in a different goroutine. If a panic occurs, it converts the panic to a string and returns its error through the callback.
func ChangeGroupMemberMute ¶
func ChangeGroupMute ¶
func ChangeGroupMute(callback open_im_sdk_callback.Base, operationID string, groupID string, isMute bool)
func CheckFriend ¶
func CheckFriend(callback open_im_sdk_callback.Base, operationID string, userIDList string)
func CheckResourceLoad ¶
CheckResourceLoad checks the SDK is resource load status.
func CheckToken ¶
CheckToken checks user authentication token.
func ClearConversationAndDeleteAllMsg ¶
func ClearConversationAndDeleteAllMsg(callback open_im_sdk_callback.Base, operationID string, conversationID string)
func CreateCardMessage ¶
func CreateCustomMessage ¶
func CreateFileMessage ¶
func CreateFileMessageByURL ¶
func CreateForwardMessage ¶
func CreateGroup ¶
func CreateGroup(callback open_im_sdk_callback.Base, operationID string, groupReqInfo string)
func CreateImageMessage ¶
func CreateImageMessageByURL ¶
func CreateLocationMessage ¶
func CreateMergerMessage ¶
func CreateQuoteMessage ¶
func CreateSoundMessage ¶
func CreateSoundMessageByURL ¶
func CreateTextAtMessage ¶
func CreateTextMessage ¶
func CreateVideoMessage ¶
func CreateVideoMessageByURL ¶
func DeleteAllMsgFromLocal ¶
func DeleteAllMsgFromLocal(callback open_im_sdk_callback.Base, operationID string)
func DeleteAllMsgFromLocalAndSvr ¶
func DeleteAllMsgFromLocalAndSvr(callback open_im_sdk_callback.Base, operationID string)
func DeleteConversationAndDeleteAllMsg ¶
func DeleteConversationAndDeleteAllMsg(callback open_im_sdk_callback.Base, operationID string, conversationID string)
func DeleteFriend ¶
func DeleteFriend(callback open_im_sdk_callback.Base, operationID string, friendUserID string)
func DeleteMessage ¶
func DeleteMessage(callback open_im_sdk_callback.Base, operationID string, conversationID string, clientMsgID string)
func DeleteMessageFromLocalStorage ¶
func DeleteMessageFromLocalStorage(callback open_im_sdk_callback.Base, operationID string, conversationID string, clientMsgID string)
func DismissGroup ¶
func DismissGroup(callback open_im_sdk_callback.Base, operationID string, groupID string)
func FindMessageList ¶
func FindMessageList(callback open_im_sdk_callback.Base, operationID string, findMessageOptions string)
func GetAdvancedHistoryMessageList ¶
func GetAdvancedHistoryMessageList(callback open_im_sdk_callback.Base, operationID string, getMessageOptions string)
func GetAdvancedHistoryMessageListReverse ¶
func GetAdvancedHistoryMessageListReverse(callback open_im_sdk_callback.Base, operationID string, getMessageOptions string)
func GetAllConversationList ¶
func GetAllConversationList(callback open_im_sdk_callback.Base, operationID string)
func GetAtAllTag ¶
func GetBlackList ¶
func GetBlackList(callback open_im_sdk_callback.Base, operationID string)
func GetConversationListSplit ¶
func GetConversationListSplit(callback open_im_sdk_callback.Base, operationID string, offset int, count int)
func GetConversationRecvMessageOpt ¶
func GetConversationRecvMessageOpt(callback open_im_sdk_callback.Base, operationID string, conversationIDList string)
deprecated
func GetFriendApplicationListAsApplicant ¶
func GetFriendApplicationListAsApplicant(callback open_im_sdk_callback.Base, operationID string)
func GetFriendApplicationListAsRecipient ¶
func GetFriendApplicationListAsRecipient(callback open_im_sdk_callback.Base, operationID string)
func GetFriendList ¶
func GetFriendList(callback open_im_sdk_callback.Base, operationID string)
func GetFriendListPage ¶
func GetFriendListPage(callback open_im_sdk_callback.Base, operationID string, offset int32, count int32)
func GetGroupApplicationListAsApplicant ¶
func GetGroupApplicationListAsApplicant(callback open_im_sdk_callback.Base, operationID string)
func GetGroupApplicationListAsRecipient ¶
func GetGroupApplicationListAsRecipient(callback open_im_sdk_callback.Base, operationID string)
func GetGroupMemberList ¶
func GetGroupMemberOwnerAndAdmin ¶
func GetGroupMemberOwnerAndAdmin(callback open_im_sdk_callback.Base, operationID string, groupID string)
func GetJoinedGroupList ¶
func GetJoinedGroupList(callback open_im_sdk_callback.Base, operationID string)
func GetLoginStatus ¶
func GetLoginUserID ¶
func GetLoginUserID() string
func GetMultipleConversation ¶
func GetMultipleConversation(callback open_im_sdk_callback.Base, operationID string, conversationIDList string)
func GetOneConversation ¶
func GetOneConversation(callback open_im_sdk_callback.Base, operationID string, sessionType int32, sourceID string)
func GetSdkVersion ¶
func GetSdkVersion() string
func GetSelfUserInfo ¶
func GetSelfUserInfo(callback open_im_sdk_callback.Base, operationID string)
GetSelfUserInfo obtains the user's own information.
func GetSpecifiedFriendsInfo ¶
func GetSpecifiedFriendsInfo(callback open_im_sdk_callback.Base, operationID string, userIDList string)
func GetSpecifiedGroupMembersInfo ¶
func GetSpecifiedGroupMembersInfo(callback open_im_sdk_callback.Base, operationID string, groupID string, userIDList string)
func GetSpecifiedGroupsInfo ¶
func GetSpecifiedGroupsInfo(callback open_im_sdk_callback.Base, operationID string, groupIDList string)
func GetSubscribeUsersStatus ¶
func GetSubscribeUsersStatus(callback open_im_sdk_callback.Base, operationID string)
GetSubscribeUsersStatus Get the online status of subscribers.
func GetTotalUnreadMsgCount ¶
func GetTotalUnreadMsgCount(callback open_im_sdk_callback.Base, operationID string)
func GetUserStatus ¶
func GetUserStatus(callback open_im_sdk_callback.Base, operationID string, userIDs string)
GetUserStatus Get the online status of users.
func GetUserWorker ¶
GetUserWorker returns a user's login manager by its ID.
func GetUsersInfo ¶
func GetUsersInfo(callback open_im_sdk_callback.Base, operationID string, userIDs string)
func GetUsersInfoFromSrv ¶
func GetUsersInfoFromSrv(callback open_im_sdk_callback.Base, operationID string, userIDs string)
GetUsersInfoFromSrv obtains the information about multiple users.
func GetUsersInfoWithCache ¶ added in v3.4.0
func GetUsersInfoWithCache(callback open_im_sdk_callback.Base, operationID string, userIDs, groupID string)
func HideAllConversations ¶ added in v3.4.0
func HideAllConversations(callback open_im_sdk_callback.Base, operationID string)
func HideConversation ¶
func HideConversation(callback open_im_sdk_callback.Base, operationID string, conversationID string)
func InitOnce ¶
func InitOnce(config *sdk_struct.IMConfig) bool
InitOnce initializes the SDK by setting the server configuration.
func InitSDK ¶
func InitSDK(listener open_im_sdk_callback.OnConnListener, operationID string, config string) bool
func InviteUserToGroup ¶
func IsJoinGroup ¶
func IsJoinGroup(callback open_im_sdk_callback.Base, operationID string, groupID string)
func KickGroupMember ¶
func Login ¶
func Login(callback open_im_sdk_callback.Base, operationID string, userID, token string)
func Logout ¶
func Logout(callback open_im_sdk_callback.Base, operationID string)
func MarkConversationMessageAsRead ¶
func MarkConversationMessageAsRead(callback open_im_sdk_callback.Base, operationID string, conversationID string)
mark as read
func MarkMessagesAsReadByMsgID ¶
func MarkMessagesAsReadByMsgID(callback open_im_sdk_callback.Base, operationID string, conversationID string, clientMsgIDs string)
func NetworkStatusChanged ¶
func NetworkStatusChanged(callback open_im_sdk_callback.Base, operationID string)
func PinConversation ¶
func PinConversation(callback open_im_sdk_callback.Base, operationID string, conversationID string, isPinned bool)
func QuitGroup ¶
func QuitGroup(callback open_im_sdk_callback.Base, operationID string, groupID string)
func RefuseFriendApplication ¶
func RefuseFriendApplication(callback open_im_sdk_callback.Base, operationID string, userIDHandleMsg string)
func RefuseGroupApplication ¶
func RemoveBlack ¶
func RemoveBlack(callback open_im_sdk_callback.Base, operationID string, removeUserID string)
func ResetConversationGroupAtType ¶
func ResetConversationGroupAtType(callback open_im_sdk_callback.Base, operationID string, conversationID string)
func RevokeMessage ¶
func RevokeMessage(callback open_im_sdk_callback.Base, operationID string, conversationID, clientMsgID string)
func SearchFriends ¶
func SearchFriends(callback open_im_sdk_callback.Base, operationID string, searchParam string)
func SearchGroupMembers ¶
func SearchGroupMembers(callback open_im_sdk_callback.Base, operationID string, searchParam string)
func SearchGroups ¶
func SearchGroups(callback open_im_sdk_callback.Base, operationID string, searchParam string)
func SearchLocalMessages ¶
func SearchLocalMessages(callback open_im_sdk_callback.Base, operationID string, searchParam string)
func SendMessage ¶
func SendMessage(callback open_im_sdk_callback.SendMsgCallBack, operationID, message, recvID, groupID, offlinePushInfo string)
func SendMessageByBuffer ¶
func SendMessageByBuffer(callback open_im_sdk_callback.SendMsgCallBack, operationID string, message, recvID, groupID string, offlinePushInfo string, buffer1, buffer2 *bytes.Buffer)
deprecated
func SendMessageCaller ¶
func SendMessageCaller(funcName interface{}, callback open_im_sdk_callback.SendMsgCallBack, args ...interface{})
SendMessageCaller sends a message by calling the SDK's message sender.
func SendMessageNotOss ¶
func SendMessageNotOss(callback open_im_sdk_callback.SendMsgCallBack, operationID string, message, recvID, groupID string, offlinePushInfo string)
func SetAdvancedMsgListener ¶
func SetAdvancedMsgListener(listener open_im_sdk_callback.OnAdvancedMsgListener)
func SetAppBackgroundStatus ¶
func SetAppBackgroundStatus(callback open_im_sdk_callback.Base, operationID string, isBackground bool)
func SetAppBadge ¶
func SetAppBadge(callback open_im_sdk_callback.Base, operationID string, appUnreadCount int32)
func SetBatchMsgListener ¶
func SetBatchMsgListener(listener open_im_sdk_callback.OnBatchMsgListener)
func SetConversationBurnDuration ¶
func SetConversationBurnDuration(callback open_im_sdk_callback.Base, operationID string, conversationID string, duration int32)
func SetConversationDraft ¶
func SetConversationDraft(callback open_im_sdk_callback.Base, operationID string, conversationID string, draftText string)
func SetConversationIsMsgDestruct ¶
func SetConversationIsMsgDestruct(callback open_im_sdk_callback.Base, operationID string, conversationID string, isMsgDestruct bool)
func SetConversationListener ¶
func SetConversationListener(listener open_im_sdk_callback.OnConversationListener)
func SetConversationMsgDestructTime ¶
func SetConversationMsgDestructTime(callback open_im_sdk_callback.Base, operationID string, conversationID string, msgDestructTime int64)
func SetConversationPrivateChat ¶
func SetConversationPrivateChat(callback open_im_sdk_callback.Base, operationID string, conversationID string, isPrivate bool)
func SetConversationRecvMessageOpt ¶
func SetConversationRecvMessageOpt(callback open_im_sdk_callback.Base, operationID string, conversationID string, opt int)
func SetCustomBusinessListener ¶
func SetCustomBusinessListener(listener open_im_sdk_callback.OnCustomBusinessListener)
func SetFriendListener ¶
func SetFriendListener(listener open_im_sdk_callback.OnFriendshipListener)
func SetFriendRemark ¶
func SetFriendRemark(callback open_im_sdk_callback.Base, operationID string, userIDRemark string)
func SetGlobalRecvMessageOpt ¶
func SetGlobalRecvMessageOpt(callback open_im_sdk_callback.Base, operationID string, opt int)
func SetGroupApplyMemberFriend ¶
func SetGroupApplyMemberFriend(callback open_im_sdk_callback.Base, operationID string, groupID string, rule int32)
func SetGroupInfo ¶
func SetGroupInfo(callback open_im_sdk_callback.Base, operationID string, groupInfo string)
func SetGroupListener ¶
func SetGroupListener(callback open_im_sdk_callback.OnGroupListener)
func SetGroupLookMemberInfo ¶
func SetGroupLookMemberInfo(callback open_im_sdk_callback.Base, operationID string, groupID string, rule int32)
func SetGroupMemberInfo ¶
func SetGroupMemberInfo(callback open_im_sdk_callback.Base, operationID string, groupMemberInfo string)
func SetGroupMemberNickname ¶
func SetGroupMemberRoleLevel ¶
func SetGroupVerification ¶
func SetGroupVerification(callback open_im_sdk_callback.Base, operationID string, groupID string, verification int32)
func SetHeartbeatInterval ¶
func SetHeartbeatInterval(heartbeatInterval int)
func SetMessageKvInfoListener ¶
func SetMessageKvInfoListener(listener open_im_sdk_callback.OnMessageKvInfoListener)
func SetMessageLocalEx ¶
func SetMessageLocalEx(callback open_im_sdk_callback.Base, operationID string, conversationID, clientMsgID, localEx string)
func SetSelfInfo ¶
func SetSelfInfo(callback open_im_sdk_callback.Base, operationID string, userInfo string)
SetSelfInfo sets the user's own information.
func SetUserListener ¶
func SetUserListener(listener open_im_sdk_callback.OnUserListener)
func SubscribeUsersStatus ¶
func SubscribeUsersStatus(callback open_im_sdk_callback.Base, operationID string, userIDs string)
SubscribeUsersStatus Presence status of subscribed users.
func TransferGroupOwner ¶
func TransferGroupOwner(callback open_im_sdk_callback.Base, operationID string, groupID string, newOwnerUserID string)
func TypingStatusUpdate ¶
func TypingStatusUpdate(callback open_im_sdk_callback.Base, operationID string, recvID string, msgTip string)
func UnsubscribeUsersStatus ¶
func UnsubscribeUsersStatus(callback open_im_sdk_callback.Base, operationID string, userIDs string)
UnsubscribeUsersStatus Unsubscribe a user's presence.
func UpdateFcmToken ¶
func UpdateFcmToken(callback open_im_sdk_callback.Base, operationID, fcmToken string, expireTime int64)
func UpdateMsgSenderInfo ¶
func UpdateMsgSenderInfo(callback open_im_sdk_callback.Base, operationID string, nickname, faceURL string)
UpdateMsgSenderInfo updates the message sender's nickname and face URL.
func UploadFile ¶
func UploadFile(callback open_im_sdk_callback.Base, operationID string, req string, progress open_im_sdk_callback.UploadFileCallback)
func UploadLogs ¶ added in v3.4.0
func UploadLogs(callback open_im_sdk_callback.Base, operationID string, uploadLogParams string)
Types ¶
type Caller ¶
type Caller interface { BaseCaller(funcName interface{}, base open_im_sdk_callback.Base, args ...interface{}) SendMessageCaller(funcName interface{}, messageCallback open_im_sdk_callback.SendMsgCallBack, args ...interface{}) }
Caller is an interface that defines the SDK's basic and message sending caller.