diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f1d09a..524d3a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 1.0.2 +Fix the bug that cannot run on the ios simulator due to lack of cup architecture + ## 1.0.1 Fix bug diff --git a/README.md b/README.md index 22a3131..e5e0a70 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ A flutter IM plugin for android and ios. #### 1,Add dependency in yaml - flutter_openim_sdk: ^1.0.1 + flutter_openim_sdk: ^1.0.2 #### 2,Import package diff --git a/example/pubspec.lock b/example/pubspec.lock index a185006..c4e58bc 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -68,7 +68,7 @@ packages: path: ".." relative: true source: path - version: "0.0.9+1" + version: "1.0.1" flutter_test: dependency: "direct dev" description: flutter diff --git a/ios/Framework/OpenIMCore.xcframework/Info.plist b/ios/Framework/OpenIMCore.xcframework/Info.plist new file mode 100644 index 0000000..35102e0 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/Info.plist @@ -0,0 +1,40 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64 + LibraryPath + OpenIMCore.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + OpenIMCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/ios/Framework/OpenIMCore.framework/Headers/OpenIMCore.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Headers/OpenIMCore.h similarity index 100% rename from ios/Framework/OpenIMCore.framework/Headers/OpenIMCore.h rename to ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Headers/OpenIMCore.h diff --git a/ios/Framework/OpenIMCore.framework/Headers/Open_im_sdk.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Headers/Open_im_sdk.objc.h similarity index 100% rename from ios/Framework/OpenIMCore.framework/Headers/Open_im_sdk.objc.h rename to ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Headers/Open_im_sdk.objc.h diff --git a/ios/Framework/OpenIMCore.framework/Headers/Universe.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Headers/Universe.objc.h similarity index 100% rename from ios/Framework/OpenIMCore.framework/Headers/Universe.objc.h rename to ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Headers/Universe.objc.h diff --git a/ios/Framework/OpenIMCore.framework/Headers/ref.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Headers/ref.h similarity index 100% rename from ios/Framework/OpenIMCore.framework/Headers/ref.h rename to ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Headers/ref.h diff --git a/ios/Framework/OpenIMCore.framework/Modules/module.modulemap b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Modules/module.modulemap similarity index 100% rename from ios/Framework/OpenIMCore.framework/Modules/module.modulemap rename to ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Modules/module.modulemap diff --git a/ios/Framework/OpenIMCore.framework/OpenIMCore b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/OpenIMCore similarity index 100% rename from ios/Framework/OpenIMCore.framework/OpenIMCore rename to ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/OpenIMCore diff --git a/ios/Framework/OpenIMCore.framework/Resources/Info.plist b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Resources/Info.plist similarity index 100% rename from ios/Framework/OpenIMCore.framework/Resources/Info.plist rename to ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Resources/Info.plist diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/OpenIMCore.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/OpenIMCore.h new file mode 100644 index 0000000..577bdd8 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/OpenIMCore.h @@ -0,0 +1,13 @@ + +// Objective-C API for talking to the following Go packages +// +// open_im_sdk/open_im_sdk +// +// File is generated by gomobile bind. Do not edit. +#ifndef __OpenIMCore_FRAMEWORK_H__ +#define __OpenIMCore_FRAMEWORK_H__ + +#include "Open_im_sdk.objc.h" +#include "Universe.objc.h" + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/Open_im_sdk.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/Open_im_sdk.objc.h new file mode 100644 index 0000000..2be1858 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/Open_im_sdk.objc.h @@ -0,0 +1,1460 @@ +// Objective-C API for talking to open_im_sdk/open_im_sdk Go package. +// gobind -lang=objc open_im_sdk/open_im_sdk +// +// File is generated by gobind. Do not edit. + +#ifndef __Open_im_sdk_H__ +#define __Open_im_sdk_H__ + +@import Foundation; +#include "ref.h" +#include "Universe.objc.h" + + +@class Open_im_sdkAgreeOrRejectGroupMember; +@class Open_im_sdkArrMsg; +@class Open_im_sdkChatLog; +@class Open_im_sdkConversationListener; +@class Open_im_sdkConversationStruct; +@class Open_im_sdkFileBaseInfo; +@class Open_im_sdkFriend; +@class Open_im_sdkGatherFormat; +@class Open_im_sdkGeneralWsReq; +@class Open_im_sdkGeneralWsResp; +@class Open_im_sdkGetMaxAndMinSeqReq; +@class Open_im_sdkGetMaxAndMinSeqResp; +@class Open_im_sdkGroupApplicationInfo; +@class Open_im_sdkGroupApplicationResponseReq; +@class Open_im_sdkGroupReqListInfo; +@class Open_im_sdkIMConfig; +@class Open_im_sdkIMManager; +@class Open_im_sdkLogInfo; +@class Open_im_sdkMessageReceipt; +@class Open_im_sdkMsgData; +@class Open_im_sdkMsgFormat; +@class Open_im_sdkMsgStruct; +@class Open_im_sdkNotificationContent; +@class Open_im_sdkPictureBaseInfo; +@class Open_im_sdkPullMessageBySeqListReq; +@class Open_im_sdkPullMessageBySeqListResp; +@class Open_im_sdkPullMsgReq; +@class Open_im_sdkPullUserMsgResp; +@class Open_im_sdkSendMsgRespFromServer; +@class Open_im_sdkSliceMock; +@class Open_im_sdkSoundBaseInfo; +@class Open_im_sdkSoundElem; +@class Open_im_sdkTransferGroupOwnerReq; +@class Open_im_sdkUid2Flag; +@class Open_im_sdkUserRelated; +@class Open_im_sdkUserSendMsgReq; +@class Open_im_sdkUserSendMsgResp; +@class Open_im_sdkVideoBaseInfo; +@class Open_im_sdkWsMsgData; +@class Open_im_sdkWsSendMsgResp; +@class Open_im_sdkWsSubMsg; +@protocol Open_im_sdkBase; +@class Open_im_sdkBase; +@protocol Open_im_sdkIMSDKListener; +@class Open_im_sdkIMSDKListener; +@protocol Open_im_sdkOnAdvancedMsgListener; +@class Open_im_sdkOnAdvancedMsgListener; +@protocol Open_im_sdkOnConversationListener; +@class Open_im_sdkOnConversationListener; +@protocol Open_im_sdkOnFriendshipListener; +@class Open_im_sdkOnFriendshipListener; +@protocol Open_im_sdkOnGroupListener; +@class Open_im_sdkOnGroupListener; +@protocol Open_im_sdkSendMsgCallBack; +@class Open_im_sdkSendMsgCallBack; + +@protocol Open_im_sdkBase +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@protocol Open_im_sdkIMSDKListener +- (void)onConnectFailed:(long)ErrCode ErrMsg:(NSString* _Nullable)ErrMsg; +- (void)onConnectSuccess; +- (void)onConnecting; +- (void)onKickedOffline; +- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; +- (void)onUserTokenExpired; +@end + +@protocol Open_im_sdkOnAdvancedMsgListener +- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; +- (void)onRecvMessageRevoked:(NSString* _Nullable)msgId; +- (void)onRecvNewMessage:(NSString* _Nullable)message; +@end + +@protocol Open_im_sdkOnConversationListener +- (void)onConversationChanged:(NSString* _Nullable)conversationList; +- (void)onNewConversation:(NSString* _Nullable)conversationList; +- (void)onSyncServerFailed; +- (void)onSyncServerFinish; +- (void)onSyncServerStart; +- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; +@end + +@protocol Open_im_sdkOnFriendshipListener +- (void)onBlackListAdd:(NSString* _Nullable)userInfo; +- (void)onBlackListDeleted:(NSString* _Nullable)userInfo; +- (void)onFriendApplicationListAccept:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListAdded:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListDeleted:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListReject:(NSString* _Nullable)applyUserInfo; +- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; +- (void)onFriendListAdded:(NSString* _Nullable)friendInfo; +- (void)onFriendListDeleted:(NSString* _Nullable)friendInfo; +@end + +@protocol Open_im_sdkOnGroupListener +- (void)onApplicationProcessed:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser AgreeOrReject:(int32_t)AgreeOrReject opReason:(NSString* _Nullable)opReason; +- (void)onGroupCreated:(NSString* _Nullable)groupId; +- (void)onGroupInfoChanged:(NSString* _Nullable)groupId groupInfo:(NSString* _Nullable)groupInfo; +- (void)onMemberEnter:(NSString* _Nullable)groupId memberList:(NSString* _Nullable)memberList; +- (void)onMemberInvited:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberKicked:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberLeave:(NSString* _Nullable)groupId member:(NSString* _Nullable)member; +- (void)onReceiveJoinApplication:(NSString* _Nullable)groupId member:(NSString* _Nullable)member opReason:(NSString* _Nullable)opReason; +@end + +@protocol Open_im_sdkSendMsgCallBack +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onProgress:(long)progress; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@interface Open_im_sdkAgreeOrRejectGroupMember : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull groupId; +@property (nonatomic) NSString* _Nonnull userId; +@property (nonatomic) long role; +// skipped field AgreeOrRejectGroupMember.JoinTime with unsupported type: uint64 + +@property (nonatomic) NSString* _Nonnull nickName; +@property (nonatomic) NSString* _Nonnull faceUrl; +@property (nonatomic) NSString* _Nonnull reason; +@end + +@interface Open_im_sdkArrMsg : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field ArrMsg.SingleData with unsupported type: []open_im_sdk/open_im_sdk.MsgData + +// skipped field ArrMsg.GroupData with unsupported type: []open_im_sdk/open_im_sdk.MsgData + +@end + +@interface Open_im_sdkChatLog : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull msgId; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) int32_t isRead; +@property (nonatomic) int64_t seq; +@property (nonatomic) int32_t status; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) NSString* _Nonnull content; +// skipped field ChatLog.Remark with unsupported type: database/sql.NullString + +@property (nonatomic) int32_t senderPlatformID; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int64_t createTime; +@end + +@interface Open_im_sdkConversationListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) id _Nullable conversationListenerx; +// skipped field ConversationListener.MsgListenerList with unsupported type: []open_im_sdk/open_im_sdk.OnAdvancedMsgListener + +@end + +@interface Open_im_sdkConversationStruct : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull conversationID; +@property (nonatomic) long conversationType; +@property (nonatomic) NSString* _Nonnull userID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull showName; +@property (nonatomic) NSString* _Nonnull faceURL; +@property (nonatomic) long recvMsgOpt; +@property (nonatomic) long unreadCount; +@property (nonatomic) NSString* _Nonnull latestMsg; +@property (nonatomic) int64_t latestMsgSendTime; +@property (nonatomic) NSString* _Nonnull draftText; +@property (nonatomic) int64_t draftTimestamp; +@property (nonatomic) long isPinned; +@end + +@interface Open_im_sdkFileBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull filePath; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) NSString* _Nonnull fileName; +@property (nonatomic) int64_t fileSize; +@end + +@interface Open_im_sdkFriend : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@end + +@interface Open_im_sdkGatherFormat : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +/** + * @inject_tag: json:"id" + */ +@property (nonatomic) NSString* _Nonnull id_; +// skipped field GatherFormat.List with unsupported type: []*open_im_sdk/open_im_sdk.MsgFormat + +// skipped field GatherFormat.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GatherFormat.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GatherFormat.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGeneralWsReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t reqIdentifier; +@property (nonatomic) NSString* _Nonnull token; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSString* _Nonnull msgIncr; +@property (nonatomic) NSData* _Nullable data; +@end + +@interface Open_im_sdkGeneralWsResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long reqIdentifier; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) NSString* _Nonnull msgIncr; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSData* _Nullable data; +@end + +@interface Open_im_sdkGetMaxAndMinSeqReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field GetMaxAndMinSeqReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GetMaxAndMinSeqReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GetMaxAndMinSeqReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGetMaxAndMinSeqResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t maxSeq; +@property (nonatomic) int64_t minSeq; +// skipped field GetMaxAndMinSeqResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GetMaxAndMinSeqResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GetMaxAndMinSeqResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGroupApplicationInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field GroupApplicationInfo.Info with unsupported type: open_im_sdk/open_im_sdk.accessOrRefuseGroupApplicationReq + +@property (nonatomic) NSString* _Nonnull handUserID; +@property (nonatomic) NSString* _Nonnull handUserName; +@property (nonatomic) NSString* _Nonnull handUserIcon; +@end + +@interface Open_im_sdkGroupApplicationResponseReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSString* _Nonnull ownerID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull fromUserID; +@property (nonatomic) NSString* _Nonnull fromUserNickName; +@property (nonatomic) NSString* _Nonnull fromUserFaceUrl; +@property (nonatomic) NSString* _Nonnull toUserID; +@property (nonatomic) NSString* _Nonnull toUserNickName; +@property (nonatomic) NSString* _Nonnull toUserFaceUrl; +@property (nonatomic) int64_t addTime; +@property (nonatomic) NSString* _Nonnull requestMsg; +@property (nonatomic) NSString* _Nonnull handledMsg; +@property (nonatomic) int32_t type; +@property (nonatomic) int32_t handleStatus; +@property (nonatomic) int32_t handleResult; +@end + +@interface Open_im_sdkGroupReqListInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull id_; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull fromUserID; +@property (nonatomic) NSString* _Nonnull toUserID; +@property (nonatomic) int32_t flag; +@property (nonatomic) NSString* _Nonnull requestMsg; +@property (nonatomic) NSString* _Nonnull handledMsg; +@property (nonatomic) int64_t addTime; +@property (nonatomic) NSString* _Nonnull fromUserNickname; +@property (nonatomic) NSString* _Nonnull toUserNickname; +@property (nonatomic) NSString* _Nonnull fromUserFaceUrl; +@property (nonatomic) NSString* _Nonnull toUserFaceUrl; +@property (nonatomic) NSString* _Nonnull handledUser; +@property (nonatomic) int32_t type; +@property (nonatomic) int32_t handleStatus; +@property (nonatomic) int32_t handleResult; +- (NSString* _Nonnull)key; +// skipped method GroupReqListInfo.Value with unsupported parameter or return types + +@end + +@interface Open_im_sdkIMConfig : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t platform; +@property (nonatomic) NSString* _Nonnull ipApiAddr; +@property (nonatomic) NSString* _Nonnull ipWsAddr; +@property (nonatomic) NSString* _Nonnull dbDir; +@end + +@interface Open_im_sdkIMManager : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long loginState; +@end + +@interface Open_im_sdkLogInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull info; +@end + +@interface Open_im_sdkMessageReceipt : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull userID; +// skipped field MessageReceipt.MsgIdList with unsupported type: []string + +@property (nonatomic) int64_t readTime; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t sessionType; +@end + +@interface Open_im_sdkMsgData : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int64_t seq; +@property (nonatomic) int32_t senderPlatformID; +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field MsgData.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method MsgData.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method MsgData.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkMsgFormat : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +/** + * @inject_tag: json:"sendID" + */ +@property (nonatomic) NSString* _Nonnull sendID; +/** + * @inject_tag: json:"recvID" + */ +@property (nonatomic) NSString* _Nonnull recvID; +/** + * @inject_tag: json:"msgFrom" + */ +@property (nonatomic) int32_t msgFrom; +/** + * @inject_tag: json:"contentType" + */ +@property (nonatomic) int32_t contentType; +/** + * @inject_tag: json:"serverMsgID" + */ +@property (nonatomic) NSString* _Nonnull serverMsgID; +/** + * @inject_tag: json:"content" + */ +@property (nonatomic) NSString* _Nonnull content; +/** + * @inject_tag: json:"seq" + */ +@property (nonatomic) int64_t seq; +/** + * @inject_tag: json:"sendTime" + */ +@property (nonatomic) int64_t sendTime; +/** + * @inject_tag: json:"senderPlatformID" + */ +@property (nonatomic) int32_t senderPlatformID; +/** + * @inject_tag: json:"senderNickName" + */ +@property (nonatomic) NSString* _Nonnull senderNickName; +/** + * @inject_tag: json:"senderFaceUrl" + */ +@property (nonatomic) NSString* _Nonnull senderFaceURL; +/** + * @inject_tag: json:"clientMsgID" + */ +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field MsgFormat.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method MsgFormat.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method MsgFormat.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkMsgStruct : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) int64_t createTime; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t platformID; +// skipped field MsgStruct.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) int64_t seq; +@property (nonatomic) BOOL isRead; +@property (nonatomic) int32_t status; +@property (nonatomic) NSString* _Nonnull remark; +// skipped field MsgStruct.PictureElem with unsupported type: struct{SourcePath string "json:\"sourcePath\""; SourcePicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"sourcePicture\""; BigPicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"bigPicture\""; SnapshotPicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"snapshotPicture\""} + +// skipped field MsgStruct.SoundElem with unsupported type: struct{UUID string "json:\"uuid\""; SoundPath string "json:\"soundPath\""; SourceURL string "json:\"sourceUrl\""; DataSize int64 "json:\"dataSize\""; Duration int64 "json:\"duration\""} + +// skipped field MsgStruct.VideoElem with unsupported type: struct{VideoPath string "json:\"videoPath\""; VideoUUID string "json:\"videoUUID\""; VideoURL string "json:\"videoUrl\""; VideoType string "json:\"videoType\""; VideoSize int64 "json:\"videoSize\""; Duration int64 "json:\"duration\""; SnapshotPath string "json:\"snapshotPath\""; SnapshotUUID string "json:\"snapshotUUID\""; SnapshotSize int64 "json:\"snapshotSize\""; SnapshotURL string "json:\"snapshotUrl\""; SnapshotWidth int32 "json:\"snapshotWidth\""; SnapshotHeight int32 "json:\"snapshotHeight\""} + +// skipped field MsgStruct.FileElem with unsupported type: struct{FilePath string "json:\"filePath\""; UUID string "json:\"uuid\""; SourceURL string "json:\"sourceUrl\""; FileName string "json:\"fileName\""; FileSize int64 "json:\"fileSize\""} + +// skipped field MsgStruct.MergeElem with unsupported type: struct{Title string "json:\"title\""; AbstractList []string "json:\"abstractList\""; MultiMessage []*open_im_sdk/open_im_sdk.MsgStruct "json:\"multiMessage\""} + +// skipped field MsgStruct.AtElem with unsupported type: struct{Text string "json:\"text\""; AtUserList []string "json:\"atUserList\""; IsAtSelf bool "json:\"isAtSelf\""} + +// skipped field MsgStruct.LocationElem with unsupported type: struct{Description string "json:\"description\""; Longitude float64 "json:\"longitude\""; Latitude float64 "json:\"latitude\""} + +// skipped field MsgStruct.CustomElem with unsupported type: struct{Data string "json:\"data\""; Description string "json:\"description\""; Extension string "json:\"extension\""} + +// skipped field MsgStruct.QuoteElem with unsupported type: struct{Text string "json:\"text\""; QuoteMessage *open_im_sdk/open_im_sdk.MsgStruct "json:\"quoteMessage\""} + +@end + +@interface Open_im_sdkNotificationContent : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t isDisplay; +@property (nonatomic) NSString* _Nonnull defaultTips; +@property (nonatomic) NSString* _Nonnull detail; +@end + +@interface Open_im_sdkPictureBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull type; +@property (nonatomic) int64_t size; +@property (nonatomic) int32_t width; +@property (nonatomic) int32_t height; +@property (nonatomic) NSString* _Nonnull url; +@end + +@interface Open_im_sdkPullMessageBySeqListReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field PullMessageBySeqListReq.SeqList with unsupported type: []int64 + +// skipped field PullMessageBySeqListReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method PullMessageBySeqListReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method PullMessageBySeqListReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkPullMessageBySeqListResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t maxSeq; +@property (nonatomic) int64_t minSeq; +// skipped field PullMessageBySeqListResp.SingleUserMsg with unsupported type: []*open_im_sdk/open_im_sdk.GatherFormat + +// skipped field PullMessageBySeqListResp.GroupUserMsg with unsupported type: []*open_im_sdk/open_im_sdk.GatherFormat + +// skipped field PullMessageBySeqListResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method PullMessageBySeqListResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method PullMessageBySeqListResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkPullMsgReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull userID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) Open_im_sdkMsgStruct* _Nullable startMsg; +@property (nonatomic) long count; +@end + +@interface Open_im_sdkPullUserMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) long reqIdentifier; +@property (nonatomic) long msgIncr; +// skipped field PullUserMsgResp.Data with unsupported type: open_im_sdk/open_im_sdk.paramsPullUserMsgDataResp + +@end + +@interface Open_im_sdkSendMsgRespFromServer : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) long reqIdentifier; +// skipped field SendMsgRespFromServer.Data with unsupported type: struct{ServerMsgID string "json:\"serverMsgID\""; ClientMsgID string "json:\"clientMsgID\""; SendTime int64 "json:\"sendTime\""} + +@end + +@interface Open_im_sdkSliceMock : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@end + +@interface Open_im_sdkSoundBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull soundPath; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) int64_t dataSize; +@property (nonatomic) int64_t duration; +@end + +@interface Open_im_sdkSoundElem : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull soundPath; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) int64_t dataSize; +@property (nonatomic) int64_t duration; +@end + +@interface Open_im_sdkTransferGroupOwnerReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull oldOwner; +@property (nonatomic) NSString* _Nonnull newOwner; +@property (nonatomic) NSString* _Nonnull operationID; +@end + +@interface Open_im_sdkUid2Flag : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uid; +@property (nonatomic) int32_t flag; +@end + +@interface Open_im_sdkUserRelated : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field UserRelated.ConversationCh with unsupported type: chan open_im_sdk/open_im_sdk.cmd2Value + +// skipped field UserRelated.SvrConf with unsupported type: open_im_sdk/open_im_sdk.IMConfig + +@property (nonatomic) NSString* _Nonnull loginUid; +// skipped field UserRelated.IMManager with unsupported type: open_im_sdk/open_im_sdk.IMManager + +// skipped field UserRelated.Friend with unsupported type: open_im_sdk/open_im_sdk.Friend + +// skipped field UserRelated.ConversationListener with unsupported type: open_im_sdk/open_im_sdk.ConversationListener + +- (void)acceptFriendApplication:(id _Nullable)callback uid:(NSString* _Nullable)uid; +- (void)acceptGroupApplication:(NSString* _Nullable)application reason:(NSString* _Nullable)reason callback:(id _Nullable)callback; +- (void)addAdvancedMsgListener:(id _Nullable)listener; +// skipped method UserRelated.AddCh with unsupported parameter or return types + +- (void)addFriend:(id _Nullable)callback paramsReq:(NSString* _Nullable)paramsReq; +- (void)addToBlackList:(id _Nullable)callback blackUid:(NSString* _Nullable)blackUid; +- (void)checkFriend:(id _Nullable)callback uidList:(NSString* _Nullable)uidList; +- (NSString* _Nonnull)createCardMessage:(NSString* _Nullable)cardInfo; +- (NSString* _Nonnull)createCustomMessage:(NSString* _Nullable)data extension:(NSString* _Nullable)extension description:(NSString* _Nullable)description; +- (NSString* _Nonnull)createFileMessage:(NSString* _Nullable)filePath fileName:(NSString* _Nullable)fileName; +- (NSString* _Nonnull)createFileMessageByURL:(NSString* _Nullable)fileBaseInfo; +- (NSString* _Nonnull)createFileMessageFromFullPath:(NSString* _Nullable)fileFullPath fileName:(NSString* _Nullable)fileName; +- (NSString* _Nonnull)createForwardMessage:(NSString* _Nullable)m; +- (void)createGroup:(NSString* _Nullable)gInfo memberList:(NSString* _Nullable)memberList callback:(id _Nullable)callback; +- (NSString* _Nonnull)createImageMessage:(NSString* _Nullable)imagePath; +- (NSString* _Nonnull)createImageMessageByURL:(NSString* _Nullable)sourcePicture bigPicture:(NSString* _Nullable)bigPicture snapshotPicture:(NSString* _Nullable)snapshotPicture; +- (NSString* _Nonnull)createImageMessageFromFullPath:(NSString* _Nullable)imageFullPath; +- (NSString* _Nonnull)createLocationMessage:(NSString* _Nullable)description longitude:(double)longitude latitude:(double)latitude; +- (NSString* _Nonnull)createMergerMessage:(NSString* _Nullable)messageList title:(NSString* _Nullable)title summaryList:(NSString* _Nullable)summaryList; +- (NSString* _Nonnull)createQuoteMessage:(NSString* _Nullable)text message:(NSString* _Nullable)message; +- (NSString* _Nonnull)createSoundMessage:(NSString* _Nullable)soundPath duration:(int64_t)duration; +- (NSString* _Nonnull)createSoundMessageByURL:(NSString* _Nullable)soundBaseInfo; +- (NSString* _Nonnull)createSoundMessageFromFullPath:(NSString* _Nullable)soundPath duration:(int64_t)duration; +- (NSString* _Nonnull)createTextAtMessage:(NSString* _Nullable)text atUserList:(NSString* _Nullable)atUserList; +- (NSString* _Nonnull)createTextMessage:(NSString* _Nullable)text; +- (NSString* _Nonnull)createVideoMessage:(NSString* _Nullable)videoPath videoType:(NSString* _Nullable)videoType duration:(int64_t)duration snapshotPath:(NSString* _Nullable)snapshotPath; +- (NSString* _Nonnull)createVideoMessageByURL:(NSString* _Nullable)videoBaseInfo; +- (NSString* _Nonnull)createVideoMessageFromFullPath:(NSString* _Nullable)videoFullPath videoType:(NSString* _Nullable)videoType duration:(int64_t)duration snapshotFullPath:(NSString* _Nullable)snapshotFullPath; +- (void)delCh:(NSString* _Nullable)msgIncr; +- (void)deleteConversation:(NSString* _Nullable)conversationID callback:(id _Nullable)callback; +- (void)deleteFromBlackList:(id _Nullable)callback deleteUid:(NSString* _Nullable)deleteUid; +- (void)deleteFromFriendList:(NSString* _Nullable)deleteUid callback:(id _Nullable)callback; +- (void)deleteMessageFromLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message; +- (void)findMessages:(id _Nullable)callback messageIDList:(NSString* _Nullable)messageIDList; +- (void)forceReConn; +- (void)forceSyncApplyGroupRequest; +- (void)forceSyncBlackList; +- (void)forceSyncFriend; +- (void)forceSyncFriendApplication; +- (void)forceSyncGroupRequest; +- (void)forceSyncJoinedGroup; +- (void)forceSyncJoinedGroupMember; +- (void)forceSyncLoginUserInfo; +- (BOOL)forceSyncMsg; +- (NSString* _Nonnull)genMsgIncr; +- (void)getAllConversationList:(id _Nullable)callback; +- (void)getBlackList:(id _Nullable)callback; +// skipped method UserRelated.GetCh with unsupported parameter or return types + +- (void)getFriendApplicationList:(id _Nullable)callback; +- (void)getFriendList:(id _Nullable)callback; +- (void)getFriendsInfo:(id _Nullable)callback uidList:(NSString* _Nullable)uidList; +- (void)getGroupApplicationList:(id _Nullable)callback; +- (void)getGroupMemberList:(NSString* _Nullable)groupId filter:(int32_t)filter next:(int32_t)next callback:(id _Nullable)callback; +- (void)getGroupMembersInfo:(NSString* _Nullable)groupId userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)getGroupsInfo:(NSString* _Nullable)groupIdList callback:(id _Nullable)callback; +- (void)getHistoryMessageList:(id _Nullable)callback getMessageOptions:(NSString* _Nullable)getMessageOptions; +- (void)getJoinedGroupList:(id _Nullable)callback; +- (long)getLoginStatus; +- (NSString* _Nonnull)getLoginUser; +- (int64_t)getMinSeqSvr; +- (void)getMultipleConversation:(NSString* _Nullable)conversationIDList callback:(id _Nullable)callback; +- (void)getOneConversation:(NSString* _Nullable)sourceID sessionType:(long)sessionType callback:(id _Nullable)callback; +- (void)getTotalUnreadMsgCount:(id _Nullable)callback; +- (void)getUsersInfo:(NSString* _Nullable)uIDList cb:(id _Nullable)cb; +// skipped method UserRelated.GroupApplicationProcessedCallback with unsupported parameter or return types + +- (BOOL)initSDK:(NSString* _Nullable)config cb:(id _Nullable)cb; +- (NSString* _Nonnull)insertGroupMessageToLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message groupID:(NSString* _Nullable)groupID sender:(NSString* _Nullable)sender; +- (NSString* _Nonnull)insertSingleMessageToLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message userID:(NSString* _Nullable)userID sender:(NSString* _Nullable)sender; +- (void)inviteUserToGroup:(NSString* _Nullable)groupId reason:(NSString* _Nullable)reason userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)joinGroup:(NSString* _Nullable)groupId message:(NSString* _Nullable)message callback:(id _Nullable)callback; +- (void)kickGroupMember:(NSString* _Nullable)groupId reason:(NSString* _Nullable)reason userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)login:(NSString* _Nullable)uid tk:(NSString* _Nullable)tk callback:(id _Nullable)callback; +- (void)logout:(id _Nullable)callback; +- (void)markC2CMessageAsRead:(id _Nullable)callback receiver:(NSString* _Nullable)receiver msgIDList:(NSString* _Nullable)msgIDList; +- (void)markGroupMessageHasRead:(id _Nullable)callback groupID:(NSString* _Nullable)groupID; +- (void)markSingleMessageHasRead:(id _Nullable)callback userID:(NSString* _Nullable)userID; +// skipped method UserRelated.OnMemberInvited with unsupported parameter or return types + +// skipped method UserRelated.OnMemberKicked with unsupported parameter or return types + +- (void)pinConversation:(NSString* _Nullable)conversationID isPinned:(BOOL)isPinned callback:(id _Nullable)callback; +// skipped method UserRelated.Prepare with unsupported parameter or return types + +// skipped method UserRelated.Query with unsupported parameter or return types + +- (void)quitGroup:(NSString* _Nullable)groupId callback:(id _Nullable)callback; +- (void)refuseFriendApplication:(id _Nullable)callback uid:(NSString* _Nullable)uid; +- (void)refuseGroupApplication:(NSString* _Nullable)application reason:(NSString* _Nullable)reason callback:(id _Nullable)callback; +- (BOOL)resetConversation:(NSString* _Nullable)conversationID error:(NSError* _Nullable* _Nullable)error; +- (void)revokeMessage:(id _Nullable)callback message:(NSString* _Nullable)message; +- (NSString* _Nonnull)sendMessage:(id _Nullable)callback message:(NSString* _Nullable)message receiver:(NSString* _Nullable)receiver groupID:(NSString* _Nullable)groupID onlineUserOnly:(BOOL)onlineUserOnly; +- (NSString* _Nonnull)sendMessageNotOss:(id _Nullable)callback message:(NSString* _Nullable)message receiver:(NSString* _Nullable)receiver groupID:(NSString* _Nullable)groupID onlineUserOnly:(BOOL)onlineUserOnly; +- (void)setConversationDraft:(NSString* _Nullable)conversationID draftText:(NSString* _Nullable)draftText callback:(id _Nullable)callback; +- (void)setConversationListener:(id _Nullable)listener; +- (void)setFriendInfo:(NSString* _Nullable)comment callback:(id _Nullable)callback; +- (BOOL)setFriendListener:(id _Nullable)listener; +- (void)setGroupInfo:(NSString* _Nullable)jsonGroupInfo callback:(id _Nullable)callback; +- (void)setGroupListener:(id _Nullable)callback; +- (void)setMinSeqSvr:(int64_t)minSeqSvr; +- (void)setSelfInfo:(NSString* _Nullable)info cb:(id _Nullable)cb; +- (void)transferGroupOwner:(NSString* _Nullable)groupId userId:(NSString* _Nullable)userId callback:(id _Nullable)callback; +- (void)typingStatusUpdate:(NSString* _Nullable)receiver msgTip:(NSString* _Nullable)msgTip; +- (void)unInitSDK; +// skipped method UserRelated.WriteMsg with unsupported parameter or return types + +@end + +@interface Open_im_sdkUserSendMsgReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field UserSendMsgReq.Options with unsupported type: map[string]int32 + +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) int32_t platformID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull recvID; +// skipped field UserSendMsgReq.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field UserSendMsgReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method UserSendMsgReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method UserSendMsgReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkUserSendMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) int64_t sendTime; +// skipped field UserSendMsgResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method UserSendMsgResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method UserSendMsgResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkVideoBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull videoPath; +@property (nonatomic) NSString* _Nonnull videoUUID; +@property (nonatomic) NSString* _Nonnull videoURL; +@property (nonatomic) NSString* _Nonnull videoType; +@property (nonatomic) int64_t videoSize; +@property (nonatomic) int64_t duration; +@property (nonatomic) NSString* _Nonnull snapshotPath; +@property (nonatomic) NSString* _Nonnull snapshotUUID; +@property (nonatomic) int64_t snapshotSize; +@property (nonatomic) NSString* _Nonnull snapshotURL; +@property (nonatomic) int32_t snapshotWidth; +@property (nonatomic) int32_t snapshotHeight; +@end + +@interface Open_im_sdkWsMsgData : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t platformID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull recvID; +// skipped field WsMsgData.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull content; +// skipped field WsMsgData.Options with unsupported type: map[string]interface{} + +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field WsMsgData.OfflineInfo with unsupported type: map[string]interface{} + +// skipped field WsMsgData.Ext with unsupported type: map[string]interface{} + +@end + +@interface Open_im_sdkWsSendMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) int64_t sendTime; +@end + +@interface Open_im_sdkWsSubMsg : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@end + +FOUNDATION_EXPORT const int64_t Open_im_sdkAcceptFriendApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAcceptGroupApplicationTip; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkAcceptGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAddConOrUpLatMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkAddFriendTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAtText; +FOUNDATION_EXPORT const int64_t Open_im_sdkCard; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdAcceptFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdAddFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdBlackList; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdDeleteConversation; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncFriendApplication; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncLoginUerInfo; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncMsg; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFriendApplication; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFroceSyncBlackList; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdGeyLoginUserInfo; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdNewMsgCome; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdReLogin; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdRefuseFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdUnInit; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdUpdateConversation; +FOUNDATION_EXPORT const int64_t Open_im_sdkConAndUnreadChange; +FOUNDATION_EXPORT const int64_t Open_im_sdkConChange; +FOUNDATION_EXPORT const int64_t Open_im_sdkCreateGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkCustom; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkDeFaultSuccessMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeConversation; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeFriend; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeInitLogin; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeUserInfo; +FOUNDATION_EXPORT const int64_t Open_im_sdkFile; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkFriendAcceptTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionAcceptGroupApplication; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionApplyJoinGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionCreateGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionInviteUserToGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionKickGroupMember; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionQuitGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionRefuseGroupApplication; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionSetGroupInfo; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionTransferGroupOwner; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupChatType; +/** + * /////////////////////////////////////// + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupTipBegin; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupTipEnd; +FOUNDATION_EXPORT const int64_t Open_im_sdkHasRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkHasReadReceipt; +FOUNDATION_EXPORT const int64_t Open_im_sdkIncrUnread; +FOUNDATION_EXPORT const int64_t Open_im_sdkInviteUserToGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkJoinGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkKickGroupMemberTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkKickOnlineTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkLocation; +FOUNDATION_EXPORT const int64_t Open_im_sdkLoginFailed; +FOUNDATION_EXPORT const int64_t Open_im_sdkLoginSuccess; +FOUNDATION_EXPORT const int64_t Open_im_sdkLogining; +FOUNDATION_EXPORT const int64_t Open_im_sdkLogoutCmd; +FOUNDATION_EXPORT const int64_t Open_im_sdkMaxTotalMsgLen; +FOUNDATION_EXPORT const int64_t Open_im_sdkMerger; +FOUNDATION_EXPORT const int64_t Open_im_sdkMessageHasNotRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkMessageHasRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusHasDeleted; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusRevoked; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSendFailed; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSendSuccess; +/** + * MsgStatus + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSending; +FOUNDATION_EXPORT const int64_t Open_im_sdkNotRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkPicture; +FOUNDATION_EXPORT const int64_t Open_im_sdkQuitGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkQuote; +FOUNDATION_EXPORT const int64_t Open_im_sdkRefuseFriendApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkRefuseGroupApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkRevoke; +FOUNDATION_EXPORT const int64_t Open_im_sdkSetGroupInfoTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkSetSelfInfoTip; +/** + * /////////////////////////////////// +SessionType + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleChatType; +/** + * //////////////////////////////////////// + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleTipBegin; +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleTipEnd; +FOUNDATION_EXPORT const int64_t Open_im_sdkSound; +FOUNDATION_EXPORT const int64_t Open_im_sdkSysMsgType; +/** + * ContentType + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkText; +FOUNDATION_EXPORT const int64_t Open_im_sdkTimeOffset; +FOUNDATION_EXPORT const int64_t Open_im_sdkTotalUnreadMessageChanged; +FOUNDATION_EXPORT const int64_t Open_im_sdkTransferGroupOwnerTip; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkTransferGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkTyping; +FOUNDATION_EXPORT const int64_t Open_im_sdkUnreadCountSetZero; +FOUNDATION_EXPORT const int64_t Open_im_sdkUpdateFaceUrlAndNickName; +/** + * ////////////////////////////////////// +MsgFrom + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkUserMsgType; +FOUNDATION_EXPORT const int64_t Open_im_sdkVideo; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSDataError; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSGetNewestSeq; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPullMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPullMsgBySeqList; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPushMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSSendMsg; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkZoomScale; + +@interface Open_im_sdk : NSObject ++ (int32_t) sdkLogFlag; ++ (void) setSdkLogFlag:(int32_t)v; + +// skipped variable SvrConf with unsupported type: open_im_sdk/open_im_sdk.IMConfig + +// skipped variable UserRouterMap with unsupported type: map[string]*open_im_sdk/open_im_sdk.UserRelated + +// skipped variable UserSDKRwLock with unsupported type: sync.RWMutex + +@end + +FOUNDATION_EXPORT void Open_im_sdkAcceptFriendApplication(id _Nullable callback, NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkAcceptGroupApplication(NSString* _Nullable application, NSString* _Nullable reason, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkAddAdvancedMsgListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkAddFriend(id _Nullable callback, NSString* _Nullable paramsReq); + +FOUNDATION_EXPORT void Open_im_sdkAddToBlackList(id _Nullable callback, NSString* _Nullable blackUid); + +FOUNDATION_EXPORT void Open_im_sdkCheckFriend(id _Nullable callback, NSString* _Nullable uidList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCardMessage(NSString* _Nullable cardInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCustomMessage(NSString* _Nullable data, NSString* _Nullable extension, NSString* _Nullable description); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessage(NSString* _Nullable filePath, NSString* _Nullable fileName); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageByURL(NSString* _Nullable fileBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageFromFullPath(NSString* _Nullable fileFullPath, NSString* _Nullable fileName); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateForwardMessage(NSString* _Nullable m); + +FOUNDATION_EXPORT void Open_im_sdkCreateGroup(NSString* _Nullable gInfo, NSString* _Nullable memberList, id _Nullable callback); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessage(NSString* _Nullable imagePath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageByURL(NSString* _Nullable sourcePicture, NSString* _Nullable bigPicture, NSString* _Nullable snapshotPicture); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageFromFullPath(NSString* _Nullable imageFullPath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateLocationMessage(NSString* _Nullable description, double longitude, double latitude); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateMergerMessage(NSString* _Nullable messageList, NSString* _Nullable title, NSString* _Nullable summaryList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateQuoteMessage(NSString* _Nullable text, NSString* _Nullable message); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessage(NSString* _Nullable soundPath, int64_t duration); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageByURL(NSString* _Nullable soundBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageFromFullPath(NSString* _Nullable soundPath, int64_t duration); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextAtMessage(NSString* _Nullable text, NSString* _Nullable atUserList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextMessage(NSString* _Nullable text); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessage(NSString* _Nullable videoPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotPath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageByURL(NSString* _Nullable videoBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageFromFullPath(NSString* _Nullable videoFullPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotFullPath); + +FOUNDATION_EXPORT void Open_im_sdkDeleteConversation(NSString* _Nullable conversationID, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkDeleteFromBlackList(id _Nullable callback, NSString* _Nullable deleteUid); + +FOUNDATION_EXPORT void Open_im_sdkDeleteFromFriendList(NSString* _Nullable deleteUid, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkDeleteMessageFromLocalStorage(id _Nullable callback, NSString* _Nullable message); + +FOUNDATION_EXPORT void Open_im_sdkFindMessages(id _Nullable callback, NSString* _Nullable messageIDList); + +FOUNDATION_EXPORT void Open_im_sdkForceSyncLoginUerInfo(void); + +FOUNDATION_EXPORT BOOL Open_im_sdkForceSyncMsg(void); + +FOUNDATION_EXPORT void Open_im_sdkGetAllConversationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetBlackList(id _Nullable callback); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetConversationIDBySessionType(NSString* _Nullable sourceID, long sessionType); + +/** + * Get the current timestamp by Mill + */ +FOUNDATION_EXPORT int64_t Open_im_sdkGetCurrentTimestampByMill(void); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendApplicationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendsInfo(id _Nullable callback, NSString* _Nullable uidList); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupApplicationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupMemberList(NSString* _Nullable groupId, int32_t filter, int32_t next, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupMembersInfo(NSString* _Nullable groupId, NSString* _Nullable userList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupsInfo(NSString* _Nullable groupIdList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetHistoryMessageList(id _Nullable callback, NSString* _Nullable getMessageOptions); + +FOUNDATION_EXPORT void Open_im_sdkGetJoinedGroupList(id _Nullable callback); + +FOUNDATION_EXPORT long Open_im_sdkGetLoginStatus(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetLoginUser(void); + +FOUNDATION_EXPORT void Open_im_sdkGetMultipleConversation(NSString* _Nullable conversationIDList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetOneConversation(NSString* _Nullable sourceID, long sessionType, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetTotalUnreadMsgCount(id _Nullable callback); + +FOUNDATION_EXPORT Open_im_sdkUserRelated* _Nullable Open_im_sdkGetUserWorker(NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkGetUsersInfo(NSString* _Nullable uIDList, id _Nullable cb); + +FOUNDATION_EXPORT BOOL Open_im_sdkInitOnce(Open_im_sdkIMConfig* _Nullable config); + +FOUNDATION_EXPORT BOOL Open_im_sdkInitSDK(NSString* _Nullable config, id _Nullable cb); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkInsertSingleMessageToLocalStorage(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable userID, NSString* _Nullable sender); + +FOUNDATION_EXPORT void Open_im_sdkInviteUserToGroup(NSString* _Nullable groupId, NSString* _Nullable reason, NSString* _Nullable userList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkJoinGroup(NSString* _Nullable groupId, NSString* _Nullable message, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkKickGroupMember(NSString* _Nullable groupId, NSString* _Nullable reason, NSString* _Nullable userList, id _Nullable callback); + +// skipped function LogBegin with unsupported parameter or return types + + +// skipped function LogEnd with unsupported parameter or return types + + +// skipped function LogFReturn with unsupported parameter or return types + + +// skipped function LogSReturn with unsupported parameter or return types + + +// skipped function LogStart with unsupported parameter or return types + + +FOUNDATION_EXPORT void Open_im_sdkLogin(NSString* _Nullable uid, NSString* _Nullable tk, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkLogout(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkMarkC2CMessageAsRead(id _Nullable callback, NSString* _Nullable receiver, NSString* _Nullable msgIDList); + +FOUNDATION_EXPORT void Open_im_sdkMarkGroupMessageHasRead(id _Nullable callback, NSString* _Nullable groupID); + +FOUNDATION_EXPORT void Open_im_sdkMarkSingleMessageHasRead(id _Nullable callback, NSString* _Nullable userID); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkMd5(NSString* _Nullable s); + +FOUNDATION_EXPORT void Open_im_sdkPinConversation(NSString* _Nullable conversationID, BOOL isPinned, id _Nullable callback); + +// skipped function Post2Api with unsupported parameter or return types + + +FOUNDATION_EXPORT void Open_im_sdkQuitGroup(NSString* _Nullable groupId, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkRefuseFriendApplication(id _Nullable callback, NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkRefuseGroupApplication(NSString* _Nullable application, NSString* _Nullable reason, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkRevokeMessage(id _Nullable callback, NSString* _Nullable message); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkRunFuncName(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSdkVersion(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSendMessage(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable receiver, NSString* _Nullable groupID, BOOL onlineUserOnly); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSendMessageNotOss(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable receiver, NSString* _Nullable groupID, BOOL onlineUserOnly); + +FOUNDATION_EXPORT void Open_im_sdkSetConversationDraft(NSString* _Nullable conversationID, NSString* _Nullable draftText, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkSetConversationListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkSetFriendInfo(NSString* _Nullable comment, id _Nullable callback); + +FOUNDATION_EXPORT BOOL Open_im_sdkSetFriendListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkSetGroupInfo(NSString* _Nullable jsonGroupInfo, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkSetGroupListener(id _Nullable callback); + +/** + * 1 no print + */ +FOUNDATION_EXPORT void Open_im_sdkSetSdkLog(int32_t flag); + +FOUNDATION_EXPORT void Open_im_sdkSetSelfInfo(NSString* _Nullable info, id _Nullable cb); + +FOUNDATION_EXPORT int64_t Open_im_sdkStringToInt64(NSString* _Nullable i); + +FOUNDATION_EXPORT void Open_im_sdkTransferGroupOwner(NSString* _Nullable groupId, NSString* _Nullable userId, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkTypingStatusUpdate(NSString* _Nullable receiver, NSString* _Nullable msgTip); + +FOUNDATION_EXPORT void Open_im_sdkUnInitSDK(void); + +// skipped function UnixSecondToTime with unsupported parameter or return types + + +@class Open_im_sdkBase; + +@class Open_im_sdkIMSDKListener; + +@class Open_im_sdkOnAdvancedMsgListener; + +@class Open_im_sdkOnConversationListener; + +@class Open_im_sdkOnFriendshipListener; + +@class Open_im_sdkOnGroupListener; + +@class Open_im_sdkSendMsgCallBack; + +@interface Open_im_sdkBase : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@interface Open_im_sdkIMSDKListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onConnectFailed:(long)ErrCode ErrMsg:(NSString* _Nullable)ErrMsg; +- (void)onConnectSuccess; +- (void)onConnecting; +- (void)onKickedOffline; +- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; +- (void)onUserTokenExpired; +@end + +@interface Open_im_sdkOnAdvancedMsgListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; +- (void)onRecvMessageRevoked:(NSString* _Nullable)msgId; +- (void)onRecvNewMessage:(NSString* _Nullable)message; +@end + +@interface Open_im_sdkOnConversationListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onConversationChanged:(NSString* _Nullable)conversationList; +- (void)onNewConversation:(NSString* _Nullable)conversationList; +- (void)onSyncServerFailed; +- (void)onSyncServerFinish; +- (void)onSyncServerStart; +- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; +@end + +@interface Open_im_sdkOnFriendshipListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onBlackListAdd:(NSString* _Nullable)userInfo; +- (void)onBlackListDeleted:(NSString* _Nullable)userInfo; +- (void)onFriendApplicationListAccept:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListAdded:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListDeleted:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListReject:(NSString* _Nullable)applyUserInfo; +- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; +- (void)onFriendListAdded:(NSString* _Nullable)friendInfo; +- (void)onFriendListDeleted:(NSString* _Nullable)friendInfo; +@end + +@interface Open_im_sdkOnGroupListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onApplicationProcessed:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser AgreeOrReject:(int32_t)AgreeOrReject opReason:(NSString* _Nullable)opReason; +- (void)onGroupCreated:(NSString* _Nullable)groupId; +- (void)onGroupInfoChanged:(NSString* _Nullable)groupId groupInfo:(NSString* _Nullable)groupInfo; +- (void)onMemberEnter:(NSString* _Nullable)groupId memberList:(NSString* _Nullable)memberList; +- (void)onMemberInvited:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberKicked:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberLeave:(NSString* _Nullable)groupId member:(NSString* _Nullable)member; +- (void)onReceiveJoinApplication:(NSString* _Nullable)groupId member:(NSString* _Nullable)member opReason:(NSString* _Nullable)opReason; +@end + +@interface Open_im_sdkSendMsgCallBack : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onProgress:(long)progress; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/Universe.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/Universe.objc.h new file mode 100644 index 0000000..019e750 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/Universe.objc.h @@ -0,0 +1,29 @@ +// Objective-C API for talking to Go package. +// gobind -lang=objc +// +// File is generated by gobind. Do not edit. + +#ifndef __Universe_H__ +#define __Universe_H__ + +@import Foundation; +#include "ref.h" + +@protocol Universeerror; +@class Universeerror; + +@protocol Universeerror +- (NSString* _Nonnull)error; +@end + +@class Universeerror; + +@interface Universeerror : NSError { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (NSString* _Nonnull)error; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/ref.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/ref.h new file mode 100644 index 0000000..b8036a4 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Headers/ref.h @@ -0,0 +1,35 @@ +// Copyright 2015 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#ifndef __GO_REF_HDR__ +#define __GO_REF_HDR__ + +#include + +// GoSeqRef is an object tagged with an integer for passing back and +// forth across the language boundary. A GoSeqRef may represent either +// an instance of a Go object, or an Objective-C object passed to Go. +// The explicit allocation of a GoSeqRef is used to pin a Go object +// when it is passed to Objective-C. The Go seq package maintains a +// reference to the Go object in a map keyed by the refnum along with +// a reference count. When the reference count reaches zero, the Go +// seq package will clear the corresponding entry in the map. +@interface GoSeqRef : NSObject { +} +@property(readonly) int32_t refnum; +@property(strong) id obj; // NULL when representing a Go object. + +// new GoSeqRef object to proxy a Go object. The refnum must be +// provided from Go side. +- (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; + +- (int32_t)incNum; + +@end + +@protocol goSeqRefInterface +-(GoSeqRef*) _ref; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Modules/module.modulemap b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..af98221 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module "OpenIMCore" { + header "ref.h" + header "Open_im_sdk.objc.h" + header "Universe.objc.h" + header "OpenIMCore.h" + + export * +} \ No newline at end of file diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/OpenIMCore b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/OpenIMCore new file mode 100644 index 0000000..b73a381 Binary files /dev/null and b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/OpenIMCore differ diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Resources/Info.plist b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Resources/Info.plist new file mode 100644 index 0000000..0d1a4b8 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,6 @@ + + + + + + diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/OpenIMCore.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/OpenIMCore.h new file mode 100644 index 0000000..577bdd8 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/OpenIMCore.h @@ -0,0 +1,13 @@ + +// Objective-C API for talking to the following Go packages +// +// open_im_sdk/open_im_sdk +// +// File is generated by gomobile bind. Do not edit. +#ifndef __OpenIMCore_FRAMEWORK_H__ +#define __OpenIMCore_FRAMEWORK_H__ + +#include "Open_im_sdk.objc.h" +#include "Universe.objc.h" + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/Open_im_sdk.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/Open_im_sdk.objc.h new file mode 100644 index 0000000..2be1858 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/Open_im_sdk.objc.h @@ -0,0 +1,1460 @@ +// Objective-C API for talking to open_im_sdk/open_im_sdk Go package. +// gobind -lang=objc open_im_sdk/open_im_sdk +// +// File is generated by gobind. Do not edit. + +#ifndef __Open_im_sdk_H__ +#define __Open_im_sdk_H__ + +@import Foundation; +#include "ref.h" +#include "Universe.objc.h" + + +@class Open_im_sdkAgreeOrRejectGroupMember; +@class Open_im_sdkArrMsg; +@class Open_im_sdkChatLog; +@class Open_im_sdkConversationListener; +@class Open_im_sdkConversationStruct; +@class Open_im_sdkFileBaseInfo; +@class Open_im_sdkFriend; +@class Open_im_sdkGatherFormat; +@class Open_im_sdkGeneralWsReq; +@class Open_im_sdkGeneralWsResp; +@class Open_im_sdkGetMaxAndMinSeqReq; +@class Open_im_sdkGetMaxAndMinSeqResp; +@class Open_im_sdkGroupApplicationInfo; +@class Open_im_sdkGroupApplicationResponseReq; +@class Open_im_sdkGroupReqListInfo; +@class Open_im_sdkIMConfig; +@class Open_im_sdkIMManager; +@class Open_im_sdkLogInfo; +@class Open_im_sdkMessageReceipt; +@class Open_im_sdkMsgData; +@class Open_im_sdkMsgFormat; +@class Open_im_sdkMsgStruct; +@class Open_im_sdkNotificationContent; +@class Open_im_sdkPictureBaseInfo; +@class Open_im_sdkPullMessageBySeqListReq; +@class Open_im_sdkPullMessageBySeqListResp; +@class Open_im_sdkPullMsgReq; +@class Open_im_sdkPullUserMsgResp; +@class Open_im_sdkSendMsgRespFromServer; +@class Open_im_sdkSliceMock; +@class Open_im_sdkSoundBaseInfo; +@class Open_im_sdkSoundElem; +@class Open_im_sdkTransferGroupOwnerReq; +@class Open_im_sdkUid2Flag; +@class Open_im_sdkUserRelated; +@class Open_im_sdkUserSendMsgReq; +@class Open_im_sdkUserSendMsgResp; +@class Open_im_sdkVideoBaseInfo; +@class Open_im_sdkWsMsgData; +@class Open_im_sdkWsSendMsgResp; +@class Open_im_sdkWsSubMsg; +@protocol Open_im_sdkBase; +@class Open_im_sdkBase; +@protocol Open_im_sdkIMSDKListener; +@class Open_im_sdkIMSDKListener; +@protocol Open_im_sdkOnAdvancedMsgListener; +@class Open_im_sdkOnAdvancedMsgListener; +@protocol Open_im_sdkOnConversationListener; +@class Open_im_sdkOnConversationListener; +@protocol Open_im_sdkOnFriendshipListener; +@class Open_im_sdkOnFriendshipListener; +@protocol Open_im_sdkOnGroupListener; +@class Open_im_sdkOnGroupListener; +@protocol Open_im_sdkSendMsgCallBack; +@class Open_im_sdkSendMsgCallBack; + +@protocol Open_im_sdkBase +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@protocol Open_im_sdkIMSDKListener +- (void)onConnectFailed:(long)ErrCode ErrMsg:(NSString* _Nullable)ErrMsg; +- (void)onConnectSuccess; +- (void)onConnecting; +- (void)onKickedOffline; +- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; +- (void)onUserTokenExpired; +@end + +@protocol Open_im_sdkOnAdvancedMsgListener +- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; +- (void)onRecvMessageRevoked:(NSString* _Nullable)msgId; +- (void)onRecvNewMessage:(NSString* _Nullable)message; +@end + +@protocol Open_im_sdkOnConversationListener +- (void)onConversationChanged:(NSString* _Nullable)conversationList; +- (void)onNewConversation:(NSString* _Nullable)conversationList; +- (void)onSyncServerFailed; +- (void)onSyncServerFinish; +- (void)onSyncServerStart; +- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; +@end + +@protocol Open_im_sdkOnFriendshipListener +- (void)onBlackListAdd:(NSString* _Nullable)userInfo; +- (void)onBlackListDeleted:(NSString* _Nullable)userInfo; +- (void)onFriendApplicationListAccept:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListAdded:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListDeleted:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListReject:(NSString* _Nullable)applyUserInfo; +- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; +- (void)onFriendListAdded:(NSString* _Nullable)friendInfo; +- (void)onFriendListDeleted:(NSString* _Nullable)friendInfo; +@end + +@protocol Open_im_sdkOnGroupListener +- (void)onApplicationProcessed:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser AgreeOrReject:(int32_t)AgreeOrReject opReason:(NSString* _Nullable)opReason; +- (void)onGroupCreated:(NSString* _Nullable)groupId; +- (void)onGroupInfoChanged:(NSString* _Nullable)groupId groupInfo:(NSString* _Nullable)groupInfo; +- (void)onMemberEnter:(NSString* _Nullable)groupId memberList:(NSString* _Nullable)memberList; +- (void)onMemberInvited:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberKicked:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberLeave:(NSString* _Nullable)groupId member:(NSString* _Nullable)member; +- (void)onReceiveJoinApplication:(NSString* _Nullable)groupId member:(NSString* _Nullable)member opReason:(NSString* _Nullable)opReason; +@end + +@protocol Open_im_sdkSendMsgCallBack +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onProgress:(long)progress; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@interface Open_im_sdkAgreeOrRejectGroupMember : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull groupId; +@property (nonatomic) NSString* _Nonnull userId; +@property (nonatomic) long role; +// skipped field AgreeOrRejectGroupMember.JoinTime with unsupported type: uint64 + +@property (nonatomic) NSString* _Nonnull nickName; +@property (nonatomic) NSString* _Nonnull faceUrl; +@property (nonatomic) NSString* _Nonnull reason; +@end + +@interface Open_im_sdkArrMsg : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field ArrMsg.SingleData with unsupported type: []open_im_sdk/open_im_sdk.MsgData + +// skipped field ArrMsg.GroupData with unsupported type: []open_im_sdk/open_im_sdk.MsgData + +@end + +@interface Open_im_sdkChatLog : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull msgId; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) int32_t isRead; +@property (nonatomic) int64_t seq; +@property (nonatomic) int32_t status; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) NSString* _Nonnull content; +// skipped field ChatLog.Remark with unsupported type: database/sql.NullString + +@property (nonatomic) int32_t senderPlatformID; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int64_t createTime; +@end + +@interface Open_im_sdkConversationListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) id _Nullable conversationListenerx; +// skipped field ConversationListener.MsgListenerList with unsupported type: []open_im_sdk/open_im_sdk.OnAdvancedMsgListener + +@end + +@interface Open_im_sdkConversationStruct : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull conversationID; +@property (nonatomic) long conversationType; +@property (nonatomic) NSString* _Nonnull userID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull showName; +@property (nonatomic) NSString* _Nonnull faceURL; +@property (nonatomic) long recvMsgOpt; +@property (nonatomic) long unreadCount; +@property (nonatomic) NSString* _Nonnull latestMsg; +@property (nonatomic) int64_t latestMsgSendTime; +@property (nonatomic) NSString* _Nonnull draftText; +@property (nonatomic) int64_t draftTimestamp; +@property (nonatomic) long isPinned; +@end + +@interface Open_im_sdkFileBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull filePath; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) NSString* _Nonnull fileName; +@property (nonatomic) int64_t fileSize; +@end + +@interface Open_im_sdkFriend : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@end + +@interface Open_im_sdkGatherFormat : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +/** + * @inject_tag: json:"id" + */ +@property (nonatomic) NSString* _Nonnull id_; +// skipped field GatherFormat.List with unsupported type: []*open_im_sdk/open_im_sdk.MsgFormat + +// skipped field GatherFormat.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GatherFormat.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GatherFormat.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGeneralWsReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t reqIdentifier; +@property (nonatomic) NSString* _Nonnull token; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSString* _Nonnull msgIncr; +@property (nonatomic) NSData* _Nullable data; +@end + +@interface Open_im_sdkGeneralWsResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long reqIdentifier; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) NSString* _Nonnull msgIncr; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSData* _Nullable data; +@end + +@interface Open_im_sdkGetMaxAndMinSeqReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field GetMaxAndMinSeqReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GetMaxAndMinSeqReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GetMaxAndMinSeqReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGetMaxAndMinSeqResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t maxSeq; +@property (nonatomic) int64_t minSeq; +// skipped field GetMaxAndMinSeqResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GetMaxAndMinSeqResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GetMaxAndMinSeqResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGroupApplicationInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field GroupApplicationInfo.Info with unsupported type: open_im_sdk/open_im_sdk.accessOrRefuseGroupApplicationReq + +@property (nonatomic) NSString* _Nonnull handUserID; +@property (nonatomic) NSString* _Nonnull handUserName; +@property (nonatomic) NSString* _Nonnull handUserIcon; +@end + +@interface Open_im_sdkGroupApplicationResponseReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSString* _Nonnull ownerID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull fromUserID; +@property (nonatomic) NSString* _Nonnull fromUserNickName; +@property (nonatomic) NSString* _Nonnull fromUserFaceUrl; +@property (nonatomic) NSString* _Nonnull toUserID; +@property (nonatomic) NSString* _Nonnull toUserNickName; +@property (nonatomic) NSString* _Nonnull toUserFaceUrl; +@property (nonatomic) int64_t addTime; +@property (nonatomic) NSString* _Nonnull requestMsg; +@property (nonatomic) NSString* _Nonnull handledMsg; +@property (nonatomic) int32_t type; +@property (nonatomic) int32_t handleStatus; +@property (nonatomic) int32_t handleResult; +@end + +@interface Open_im_sdkGroupReqListInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull id_; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull fromUserID; +@property (nonatomic) NSString* _Nonnull toUserID; +@property (nonatomic) int32_t flag; +@property (nonatomic) NSString* _Nonnull requestMsg; +@property (nonatomic) NSString* _Nonnull handledMsg; +@property (nonatomic) int64_t addTime; +@property (nonatomic) NSString* _Nonnull fromUserNickname; +@property (nonatomic) NSString* _Nonnull toUserNickname; +@property (nonatomic) NSString* _Nonnull fromUserFaceUrl; +@property (nonatomic) NSString* _Nonnull toUserFaceUrl; +@property (nonatomic) NSString* _Nonnull handledUser; +@property (nonatomic) int32_t type; +@property (nonatomic) int32_t handleStatus; +@property (nonatomic) int32_t handleResult; +- (NSString* _Nonnull)key; +// skipped method GroupReqListInfo.Value with unsupported parameter or return types + +@end + +@interface Open_im_sdkIMConfig : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t platform; +@property (nonatomic) NSString* _Nonnull ipApiAddr; +@property (nonatomic) NSString* _Nonnull ipWsAddr; +@property (nonatomic) NSString* _Nonnull dbDir; +@end + +@interface Open_im_sdkIMManager : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long loginState; +@end + +@interface Open_im_sdkLogInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull info; +@end + +@interface Open_im_sdkMessageReceipt : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull userID; +// skipped field MessageReceipt.MsgIdList with unsupported type: []string + +@property (nonatomic) int64_t readTime; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t sessionType; +@end + +@interface Open_im_sdkMsgData : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int64_t seq; +@property (nonatomic) int32_t senderPlatformID; +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field MsgData.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method MsgData.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method MsgData.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkMsgFormat : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +/** + * @inject_tag: json:"sendID" + */ +@property (nonatomic) NSString* _Nonnull sendID; +/** + * @inject_tag: json:"recvID" + */ +@property (nonatomic) NSString* _Nonnull recvID; +/** + * @inject_tag: json:"msgFrom" + */ +@property (nonatomic) int32_t msgFrom; +/** + * @inject_tag: json:"contentType" + */ +@property (nonatomic) int32_t contentType; +/** + * @inject_tag: json:"serverMsgID" + */ +@property (nonatomic) NSString* _Nonnull serverMsgID; +/** + * @inject_tag: json:"content" + */ +@property (nonatomic) NSString* _Nonnull content; +/** + * @inject_tag: json:"seq" + */ +@property (nonatomic) int64_t seq; +/** + * @inject_tag: json:"sendTime" + */ +@property (nonatomic) int64_t sendTime; +/** + * @inject_tag: json:"senderPlatformID" + */ +@property (nonatomic) int32_t senderPlatformID; +/** + * @inject_tag: json:"senderNickName" + */ +@property (nonatomic) NSString* _Nonnull senderNickName; +/** + * @inject_tag: json:"senderFaceUrl" + */ +@property (nonatomic) NSString* _Nonnull senderFaceURL; +/** + * @inject_tag: json:"clientMsgID" + */ +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field MsgFormat.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method MsgFormat.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method MsgFormat.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkMsgStruct : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) int64_t createTime; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t platformID; +// skipped field MsgStruct.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) int64_t seq; +@property (nonatomic) BOOL isRead; +@property (nonatomic) int32_t status; +@property (nonatomic) NSString* _Nonnull remark; +// skipped field MsgStruct.PictureElem with unsupported type: struct{SourcePath string "json:\"sourcePath\""; SourcePicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"sourcePicture\""; BigPicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"bigPicture\""; SnapshotPicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"snapshotPicture\""} + +// skipped field MsgStruct.SoundElem with unsupported type: struct{UUID string "json:\"uuid\""; SoundPath string "json:\"soundPath\""; SourceURL string "json:\"sourceUrl\""; DataSize int64 "json:\"dataSize\""; Duration int64 "json:\"duration\""} + +// skipped field MsgStruct.VideoElem with unsupported type: struct{VideoPath string "json:\"videoPath\""; VideoUUID string "json:\"videoUUID\""; VideoURL string "json:\"videoUrl\""; VideoType string "json:\"videoType\""; VideoSize int64 "json:\"videoSize\""; Duration int64 "json:\"duration\""; SnapshotPath string "json:\"snapshotPath\""; SnapshotUUID string "json:\"snapshotUUID\""; SnapshotSize int64 "json:\"snapshotSize\""; SnapshotURL string "json:\"snapshotUrl\""; SnapshotWidth int32 "json:\"snapshotWidth\""; SnapshotHeight int32 "json:\"snapshotHeight\""} + +// skipped field MsgStruct.FileElem with unsupported type: struct{FilePath string "json:\"filePath\""; UUID string "json:\"uuid\""; SourceURL string "json:\"sourceUrl\""; FileName string "json:\"fileName\""; FileSize int64 "json:\"fileSize\""} + +// skipped field MsgStruct.MergeElem with unsupported type: struct{Title string "json:\"title\""; AbstractList []string "json:\"abstractList\""; MultiMessage []*open_im_sdk/open_im_sdk.MsgStruct "json:\"multiMessage\""} + +// skipped field MsgStruct.AtElem with unsupported type: struct{Text string "json:\"text\""; AtUserList []string "json:\"atUserList\""; IsAtSelf bool "json:\"isAtSelf\""} + +// skipped field MsgStruct.LocationElem with unsupported type: struct{Description string "json:\"description\""; Longitude float64 "json:\"longitude\""; Latitude float64 "json:\"latitude\""} + +// skipped field MsgStruct.CustomElem with unsupported type: struct{Data string "json:\"data\""; Description string "json:\"description\""; Extension string "json:\"extension\""} + +// skipped field MsgStruct.QuoteElem with unsupported type: struct{Text string "json:\"text\""; QuoteMessage *open_im_sdk/open_im_sdk.MsgStruct "json:\"quoteMessage\""} + +@end + +@interface Open_im_sdkNotificationContent : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t isDisplay; +@property (nonatomic) NSString* _Nonnull defaultTips; +@property (nonatomic) NSString* _Nonnull detail; +@end + +@interface Open_im_sdkPictureBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull type; +@property (nonatomic) int64_t size; +@property (nonatomic) int32_t width; +@property (nonatomic) int32_t height; +@property (nonatomic) NSString* _Nonnull url; +@end + +@interface Open_im_sdkPullMessageBySeqListReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field PullMessageBySeqListReq.SeqList with unsupported type: []int64 + +// skipped field PullMessageBySeqListReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method PullMessageBySeqListReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method PullMessageBySeqListReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkPullMessageBySeqListResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t maxSeq; +@property (nonatomic) int64_t minSeq; +// skipped field PullMessageBySeqListResp.SingleUserMsg with unsupported type: []*open_im_sdk/open_im_sdk.GatherFormat + +// skipped field PullMessageBySeqListResp.GroupUserMsg with unsupported type: []*open_im_sdk/open_im_sdk.GatherFormat + +// skipped field PullMessageBySeqListResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method PullMessageBySeqListResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method PullMessageBySeqListResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkPullMsgReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull userID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) Open_im_sdkMsgStruct* _Nullable startMsg; +@property (nonatomic) long count; +@end + +@interface Open_im_sdkPullUserMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) long reqIdentifier; +@property (nonatomic) long msgIncr; +// skipped field PullUserMsgResp.Data with unsupported type: open_im_sdk/open_im_sdk.paramsPullUserMsgDataResp + +@end + +@interface Open_im_sdkSendMsgRespFromServer : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) long reqIdentifier; +// skipped field SendMsgRespFromServer.Data with unsupported type: struct{ServerMsgID string "json:\"serverMsgID\""; ClientMsgID string "json:\"clientMsgID\""; SendTime int64 "json:\"sendTime\""} + +@end + +@interface Open_im_sdkSliceMock : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@end + +@interface Open_im_sdkSoundBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull soundPath; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) int64_t dataSize; +@property (nonatomic) int64_t duration; +@end + +@interface Open_im_sdkSoundElem : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull soundPath; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) int64_t dataSize; +@property (nonatomic) int64_t duration; +@end + +@interface Open_im_sdkTransferGroupOwnerReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull oldOwner; +@property (nonatomic) NSString* _Nonnull newOwner; +@property (nonatomic) NSString* _Nonnull operationID; +@end + +@interface Open_im_sdkUid2Flag : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uid; +@property (nonatomic) int32_t flag; +@end + +@interface Open_im_sdkUserRelated : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field UserRelated.ConversationCh with unsupported type: chan open_im_sdk/open_im_sdk.cmd2Value + +// skipped field UserRelated.SvrConf with unsupported type: open_im_sdk/open_im_sdk.IMConfig + +@property (nonatomic) NSString* _Nonnull loginUid; +// skipped field UserRelated.IMManager with unsupported type: open_im_sdk/open_im_sdk.IMManager + +// skipped field UserRelated.Friend with unsupported type: open_im_sdk/open_im_sdk.Friend + +// skipped field UserRelated.ConversationListener with unsupported type: open_im_sdk/open_im_sdk.ConversationListener + +- (void)acceptFriendApplication:(id _Nullable)callback uid:(NSString* _Nullable)uid; +- (void)acceptGroupApplication:(NSString* _Nullable)application reason:(NSString* _Nullable)reason callback:(id _Nullable)callback; +- (void)addAdvancedMsgListener:(id _Nullable)listener; +// skipped method UserRelated.AddCh with unsupported parameter or return types + +- (void)addFriend:(id _Nullable)callback paramsReq:(NSString* _Nullable)paramsReq; +- (void)addToBlackList:(id _Nullable)callback blackUid:(NSString* _Nullable)blackUid; +- (void)checkFriend:(id _Nullable)callback uidList:(NSString* _Nullable)uidList; +- (NSString* _Nonnull)createCardMessage:(NSString* _Nullable)cardInfo; +- (NSString* _Nonnull)createCustomMessage:(NSString* _Nullable)data extension:(NSString* _Nullable)extension description:(NSString* _Nullable)description; +- (NSString* _Nonnull)createFileMessage:(NSString* _Nullable)filePath fileName:(NSString* _Nullable)fileName; +- (NSString* _Nonnull)createFileMessageByURL:(NSString* _Nullable)fileBaseInfo; +- (NSString* _Nonnull)createFileMessageFromFullPath:(NSString* _Nullable)fileFullPath fileName:(NSString* _Nullable)fileName; +- (NSString* _Nonnull)createForwardMessage:(NSString* _Nullable)m; +- (void)createGroup:(NSString* _Nullable)gInfo memberList:(NSString* _Nullable)memberList callback:(id _Nullable)callback; +- (NSString* _Nonnull)createImageMessage:(NSString* _Nullable)imagePath; +- (NSString* _Nonnull)createImageMessageByURL:(NSString* _Nullable)sourcePicture bigPicture:(NSString* _Nullable)bigPicture snapshotPicture:(NSString* _Nullable)snapshotPicture; +- (NSString* _Nonnull)createImageMessageFromFullPath:(NSString* _Nullable)imageFullPath; +- (NSString* _Nonnull)createLocationMessage:(NSString* _Nullable)description longitude:(double)longitude latitude:(double)latitude; +- (NSString* _Nonnull)createMergerMessage:(NSString* _Nullable)messageList title:(NSString* _Nullable)title summaryList:(NSString* _Nullable)summaryList; +- (NSString* _Nonnull)createQuoteMessage:(NSString* _Nullable)text message:(NSString* _Nullable)message; +- (NSString* _Nonnull)createSoundMessage:(NSString* _Nullable)soundPath duration:(int64_t)duration; +- (NSString* _Nonnull)createSoundMessageByURL:(NSString* _Nullable)soundBaseInfo; +- (NSString* _Nonnull)createSoundMessageFromFullPath:(NSString* _Nullable)soundPath duration:(int64_t)duration; +- (NSString* _Nonnull)createTextAtMessage:(NSString* _Nullable)text atUserList:(NSString* _Nullable)atUserList; +- (NSString* _Nonnull)createTextMessage:(NSString* _Nullable)text; +- (NSString* _Nonnull)createVideoMessage:(NSString* _Nullable)videoPath videoType:(NSString* _Nullable)videoType duration:(int64_t)duration snapshotPath:(NSString* _Nullable)snapshotPath; +- (NSString* _Nonnull)createVideoMessageByURL:(NSString* _Nullable)videoBaseInfo; +- (NSString* _Nonnull)createVideoMessageFromFullPath:(NSString* _Nullable)videoFullPath videoType:(NSString* _Nullable)videoType duration:(int64_t)duration snapshotFullPath:(NSString* _Nullable)snapshotFullPath; +- (void)delCh:(NSString* _Nullable)msgIncr; +- (void)deleteConversation:(NSString* _Nullable)conversationID callback:(id _Nullable)callback; +- (void)deleteFromBlackList:(id _Nullable)callback deleteUid:(NSString* _Nullable)deleteUid; +- (void)deleteFromFriendList:(NSString* _Nullable)deleteUid callback:(id _Nullable)callback; +- (void)deleteMessageFromLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message; +- (void)findMessages:(id _Nullable)callback messageIDList:(NSString* _Nullable)messageIDList; +- (void)forceReConn; +- (void)forceSyncApplyGroupRequest; +- (void)forceSyncBlackList; +- (void)forceSyncFriend; +- (void)forceSyncFriendApplication; +- (void)forceSyncGroupRequest; +- (void)forceSyncJoinedGroup; +- (void)forceSyncJoinedGroupMember; +- (void)forceSyncLoginUserInfo; +- (BOOL)forceSyncMsg; +- (NSString* _Nonnull)genMsgIncr; +- (void)getAllConversationList:(id _Nullable)callback; +- (void)getBlackList:(id _Nullable)callback; +// skipped method UserRelated.GetCh with unsupported parameter or return types + +- (void)getFriendApplicationList:(id _Nullable)callback; +- (void)getFriendList:(id _Nullable)callback; +- (void)getFriendsInfo:(id _Nullable)callback uidList:(NSString* _Nullable)uidList; +- (void)getGroupApplicationList:(id _Nullable)callback; +- (void)getGroupMemberList:(NSString* _Nullable)groupId filter:(int32_t)filter next:(int32_t)next callback:(id _Nullable)callback; +- (void)getGroupMembersInfo:(NSString* _Nullable)groupId userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)getGroupsInfo:(NSString* _Nullable)groupIdList callback:(id _Nullable)callback; +- (void)getHistoryMessageList:(id _Nullable)callback getMessageOptions:(NSString* _Nullable)getMessageOptions; +- (void)getJoinedGroupList:(id _Nullable)callback; +- (long)getLoginStatus; +- (NSString* _Nonnull)getLoginUser; +- (int64_t)getMinSeqSvr; +- (void)getMultipleConversation:(NSString* _Nullable)conversationIDList callback:(id _Nullable)callback; +- (void)getOneConversation:(NSString* _Nullable)sourceID sessionType:(long)sessionType callback:(id _Nullable)callback; +- (void)getTotalUnreadMsgCount:(id _Nullable)callback; +- (void)getUsersInfo:(NSString* _Nullable)uIDList cb:(id _Nullable)cb; +// skipped method UserRelated.GroupApplicationProcessedCallback with unsupported parameter or return types + +- (BOOL)initSDK:(NSString* _Nullable)config cb:(id _Nullable)cb; +- (NSString* _Nonnull)insertGroupMessageToLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message groupID:(NSString* _Nullable)groupID sender:(NSString* _Nullable)sender; +- (NSString* _Nonnull)insertSingleMessageToLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message userID:(NSString* _Nullable)userID sender:(NSString* _Nullable)sender; +- (void)inviteUserToGroup:(NSString* _Nullable)groupId reason:(NSString* _Nullable)reason userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)joinGroup:(NSString* _Nullable)groupId message:(NSString* _Nullable)message callback:(id _Nullable)callback; +- (void)kickGroupMember:(NSString* _Nullable)groupId reason:(NSString* _Nullable)reason userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)login:(NSString* _Nullable)uid tk:(NSString* _Nullable)tk callback:(id _Nullable)callback; +- (void)logout:(id _Nullable)callback; +- (void)markC2CMessageAsRead:(id _Nullable)callback receiver:(NSString* _Nullable)receiver msgIDList:(NSString* _Nullable)msgIDList; +- (void)markGroupMessageHasRead:(id _Nullable)callback groupID:(NSString* _Nullable)groupID; +- (void)markSingleMessageHasRead:(id _Nullable)callback userID:(NSString* _Nullable)userID; +// skipped method UserRelated.OnMemberInvited with unsupported parameter or return types + +// skipped method UserRelated.OnMemberKicked with unsupported parameter or return types + +- (void)pinConversation:(NSString* _Nullable)conversationID isPinned:(BOOL)isPinned callback:(id _Nullable)callback; +// skipped method UserRelated.Prepare with unsupported parameter or return types + +// skipped method UserRelated.Query with unsupported parameter or return types + +- (void)quitGroup:(NSString* _Nullable)groupId callback:(id _Nullable)callback; +- (void)refuseFriendApplication:(id _Nullable)callback uid:(NSString* _Nullable)uid; +- (void)refuseGroupApplication:(NSString* _Nullable)application reason:(NSString* _Nullable)reason callback:(id _Nullable)callback; +- (BOOL)resetConversation:(NSString* _Nullable)conversationID error:(NSError* _Nullable* _Nullable)error; +- (void)revokeMessage:(id _Nullable)callback message:(NSString* _Nullable)message; +- (NSString* _Nonnull)sendMessage:(id _Nullable)callback message:(NSString* _Nullable)message receiver:(NSString* _Nullable)receiver groupID:(NSString* _Nullable)groupID onlineUserOnly:(BOOL)onlineUserOnly; +- (NSString* _Nonnull)sendMessageNotOss:(id _Nullable)callback message:(NSString* _Nullable)message receiver:(NSString* _Nullable)receiver groupID:(NSString* _Nullable)groupID onlineUserOnly:(BOOL)onlineUserOnly; +- (void)setConversationDraft:(NSString* _Nullable)conversationID draftText:(NSString* _Nullable)draftText callback:(id _Nullable)callback; +- (void)setConversationListener:(id _Nullable)listener; +- (void)setFriendInfo:(NSString* _Nullable)comment callback:(id _Nullable)callback; +- (BOOL)setFriendListener:(id _Nullable)listener; +- (void)setGroupInfo:(NSString* _Nullable)jsonGroupInfo callback:(id _Nullable)callback; +- (void)setGroupListener:(id _Nullable)callback; +- (void)setMinSeqSvr:(int64_t)minSeqSvr; +- (void)setSelfInfo:(NSString* _Nullable)info cb:(id _Nullable)cb; +- (void)transferGroupOwner:(NSString* _Nullable)groupId userId:(NSString* _Nullable)userId callback:(id _Nullable)callback; +- (void)typingStatusUpdate:(NSString* _Nullable)receiver msgTip:(NSString* _Nullable)msgTip; +- (void)unInitSDK; +// skipped method UserRelated.WriteMsg with unsupported parameter or return types + +@end + +@interface Open_im_sdkUserSendMsgReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field UserSendMsgReq.Options with unsupported type: map[string]int32 + +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) int32_t platformID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull recvID; +// skipped field UserSendMsgReq.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field UserSendMsgReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method UserSendMsgReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method UserSendMsgReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkUserSendMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) int64_t sendTime; +// skipped field UserSendMsgResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method UserSendMsgResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method UserSendMsgResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkVideoBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull videoPath; +@property (nonatomic) NSString* _Nonnull videoUUID; +@property (nonatomic) NSString* _Nonnull videoURL; +@property (nonatomic) NSString* _Nonnull videoType; +@property (nonatomic) int64_t videoSize; +@property (nonatomic) int64_t duration; +@property (nonatomic) NSString* _Nonnull snapshotPath; +@property (nonatomic) NSString* _Nonnull snapshotUUID; +@property (nonatomic) int64_t snapshotSize; +@property (nonatomic) NSString* _Nonnull snapshotURL; +@property (nonatomic) int32_t snapshotWidth; +@property (nonatomic) int32_t snapshotHeight; +@end + +@interface Open_im_sdkWsMsgData : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t platformID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull recvID; +// skipped field WsMsgData.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull content; +// skipped field WsMsgData.Options with unsupported type: map[string]interface{} + +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field WsMsgData.OfflineInfo with unsupported type: map[string]interface{} + +// skipped field WsMsgData.Ext with unsupported type: map[string]interface{} + +@end + +@interface Open_im_sdkWsSendMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) int64_t sendTime; +@end + +@interface Open_im_sdkWsSubMsg : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@end + +FOUNDATION_EXPORT const int64_t Open_im_sdkAcceptFriendApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAcceptGroupApplicationTip; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkAcceptGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAddConOrUpLatMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkAddFriendTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAtText; +FOUNDATION_EXPORT const int64_t Open_im_sdkCard; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdAcceptFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdAddFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdBlackList; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdDeleteConversation; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncFriendApplication; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncLoginUerInfo; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncMsg; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFriendApplication; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFroceSyncBlackList; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdGeyLoginUserInfo; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdNewMsgCome; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdReLogin; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdRefuseFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdUnInit; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdUpdateConversation; +FOUNDATION_EXPORT const int64_t Open_im_sdkConAndUnreadChange; +FOUNDATION_EXPORT const int64_t Open_im_sdkConChange; +FOUNDATION_EXPORT const int64_t Open_im_sdkCreateGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkCustom; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkDeFaultSuccessMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeConversation; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeFriend; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeInitLogin; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeUserInfo; +FOUNDATION_EXPORT const int64_t Open_im_sdkFile; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkFriendAcceptTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionAcceptGroupApplication; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionApplyJoinGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionCreateGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionInviteUserToGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionKickGroupMember; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionQuitGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionRefuseGroupApplication; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionSetGroupInfo; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionTransferGroupOwner; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupChatType; +/** + * /////////////////////////////////////// + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupTipBegin; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupTipEnd; +FOUNDATION_EXPORT const int64_t Open_im_sdkHasRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkHasReadReceipt; +FOUNDATION_EXPORT const int64_t Open_im_sdkIncrUnread; +FOUNDATION_EXPORT const int64_t Open_im_sdkInviteUserToGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkJoinGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkKickGroupMemberTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkKickOnlineTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkLocation; +FOUNDATION_EXPORT const int64_t Open_im_sdkLoginFailed; +FOUNDATION_EXPORT const int64_t Open_im_sdkLoginSuccess; +FOUNDATION_EXPORT const int64_t Open_im_sdkLogining; +FOUNDATION_EXPORT const int64_t Open_im_sdkLogoutCmd; +FOUNDATION_EXPORT const int64_t Open_im_sdkMaxTotalMsgLen; +FOUNDATION_EXPORT const int64_t Open_im_sdkMerger; +FOUNDATION_EXPORT const int64_t Open_im_sdkMessageHasNotRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkMessageHasRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusHasDeleted; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusRevoked; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSendFailed; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSendSuccess; +/** + * MsgStatus + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSending; +FOUNDATION_EXPORT const int64_t Open_im_sdkNotRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkPicture; +FOUNDATION_EXPORT const int64_t Open_im_sdkQuitGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkQuote; +FOUNDATION_EXPORT const int64_t Open_im_sdkRefuseFriendApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkRefuseGroupApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkRevoke; +FOUNDATION_EXPORT const int64_t Open_im_sdkSetGroupInfoTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkSetSelfInfoTip; +/** + * /////////////////////////////////// +SessionType + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleChatType; +/** + * //////////////////////////////////////// + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleTipBegin; +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleTipEnd; +FOUNDATION_EXPORT const int64_t Open_im_sdkSound; +FOUNDATION_EXPORT const int64_t Open_im_sdkSysMsgType; +/** + * ContentType + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkText; +FOUNDATION_EXPORT const int64_t Open_im_sdkTimeOffset; +FOUNDATION_EXPORT const int64_t Open_im_sdkTotalUnreadMessageChanged; +FOUNDATION_EXPORT const int64_t Open_im_sdkTransferGroupOwnerTip; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkTransferGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkTyping; +FOUNDATION_EXPORT const int64_t Open_im_sdkUnreadCountSetZero; +FOUNDATION_EXPORT const int64_t Open_im_sdkUpdateFaceUrlAndNickName; +/** + * ////////////////////////////////////// +MsgFrom + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkUserMsgType; +FOUNDATION_EXPORT const int64_t Open_im_sdkVideo; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSDataError; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSGetNewestSeq; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPullMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPullMsgBySeqList; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPushMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSSendMsg; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkZoomScale; + +@interface Open_im_sdk : NSObject ++ (int32_t) sdkLogFlag; ++ (void) setSdkLogFlag:(int32_t)v; + +// skipped variable SvrConf with unsupported type: open_im_sdk/open_im_sdk.IMConfig + +// skipped variable UserRouterMap with unsupported type: map[string]*open_im_sdk/open_im_sdk.UserRelated + +// skipped variable UserSDKRwLock with unsupported type: sync.RWMutex + +@end + +FOUNDATION_EXPORT void Open_im_sdkAcceptFriendApplication(id _Nullable callback, NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkAcceptGroupApplication(NSString* _Nullable application, NSString* _Nullable reason, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkAddAdvancedMsgListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkAddFriend(id _Nullable callback, NSString* _Nullable paramsReq); + +FOUNDATION_EXPORT void Open_im_sdkAddToBlackList(id _Nullable callback, NSString* _Nullable blackUid); + +FOUNDATION_EXPORT void Open_im_sdkCheckFriend(id _Nullable callback, NSString* _Nullable uidList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCardMessage(NSString* _Nullable cardInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCustomMessage(NSString* _Nullable data, NSString* _Nullable extension, NSString* _Nullable description); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessage(NSString* _Nullable filePath, NSString* _Nullable fileName); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageByURL(NSString* _Nullable fileBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageFromFullPath(NSString* _Nullable fileFullPath, NSString* _Nullable fileName); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateForwardMessage(NSString* _Nullable m); + +FOUNDATION_EXPORT void Open_im_sdkCreateGroup(NSString* _Nullable gInfo, NSString* _Nullable memberList, id _Nullable callback); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessage(NSString* _Nullable imagePath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageByURL(NSString* _Nullable sourcePicture, NSString* _Nullable bigPicture, NSString* _Nullable snapshotPicture); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageFromFullPath(NSString* _Nullable imageFullPath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateLocationMessage(NSString* _Nullable description, double longitude, double latitude); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateMergerMessage(NSString* _Nullable messageList, NSString* _Nullable title, NSString* _Nullable summaryList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateQuoteMessage(NSString* _Nullable text, NSString* _Nullable message); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessage(NSString* _Nullable soundPath, int64_t duration); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageByURL(NSString* _Nullable soundBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageFromFullPath(NSString* _Nullable soundPath, int64_t duration); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextAtMessage(NSString* _Nullable text, NSString* _Nullable atUserList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextMessage(NSString* _Nullable text); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessage(NSString* _Nullable videoPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotPath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageByURL(NSString* _Nullable videoBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageFromFullPath(NSString* _Nullable videoFullPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotFullPath); + +FOUNDATION_EXPORT void Open_im_sdkDeleteConversation(NSString* _Nullable conversationID, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkDeleteFromBlackList(id _Nullable callback, NSString* _Nullable deleteUid); + +FOUNDATION_EXPORT void Open_im_sdkDeleteFromFriendList(NSString* _Nullable deleteUid, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkDeleteMessageFromLocalStorage(id _Nullable callback, NSString* _Nullable message); + +FOUNDATION_EXPORT void Open_im_sdkFindMessages(id _Nullable callback, NSString* _Nullable messageIDList); + +FOUNDATION_EXPORT void Open_im_sdkForceSyncLoginUerInfo(void); + +FOUNDATION_EXPORT BOOL Open_im_sdkForceSyncMsg(void); + +FOUNDATION_EXPORT void Open_im_sdkGetAllConversationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetBlackList(id _Nullable callback); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetConversationIDBySessionType(NSString* _Nullable sourceID, long sessionType); + +/** + * Get the current timestamp by Mill + */ +FOUNDATION_EXPORT int64_t Open_im_sdkGetCurrentTimestampByMill(void); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendApplicationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendsInfo(id _Nullable callback, NSString* _Nullable uidList); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupApplicationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupMemberList(NSString* _Nullable groupId, int32_t filter, int32_t next, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupMembersInfo(NSString* _Nullable groupId, NSString* _Nullable userList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupsInfo(NSString* _Nullable groupIdList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetHistoryMessageList(id _Nullable callback, NSString* _Nullable getMessageOptions); + +FOUNDATION_EXPORT void Open_im_sdkGetJoinedGroupList(id _Nullable callback); + +FOUNDATION_EXPORT long Open_im_sdkGetLoginStatus(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetLoginUser(void); + +FOUNDATION_EXPORT void Open_im_sdkGetMultipleConversation(NSString* _Nullable conversationIDList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetOneConversation(NSString* _Nullable sourceID, long sessionType, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetTotalUnreadMsgCount(id _Nullable callback); + +FOUNDATION_EXPORT Open_im_sdkUserRelated* _Nullable Open_im_sdkGetUserWorker(NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkGetUsersInfo(NSString* _Nullable uIDList, id _Nullable cb); + +FOUNDATION_EXPORT BOOL Open_im_sdkInitOnce(Open_im_sdkIMConfig* _Nullable config); + +FOUNDATION_EXPORT BOOL Open_im_sdkInitSDK(NSString* _Nullable config, id _Nullable cb); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkInsertSingleMessageToLocalStorage(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable userID, NSString* _Nullable sender); + +FOUNDATION_EXPORT void Open_im_sdkInviteUserToGroup(NSString* _Nullable groupId, NSString* _Nullable reason, NSString* _Nullable userList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkJoinGroup(NSString* _Nullable groupId, NSString* _Nullable message, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkKickGroupMember(NSString* _Nullable groupId, NSString* _Nullable reason, NSString* _Nullable userList, id _Nullable callback); + +// skipped function LogBegin with unsupported parameter or return types + + +// skipped function LogEnd with unsupported parameter or return types + + +// skipped function LogFReturn with unsupported parameter or return types + + +// skipped function LogSReturn with unsupported parameter or return types + + +// skipped function LogStart with unsupported parameter or return types + + +FOUNDATION_EXPORT void Open_im_sdkLogin(NSString* _Nullable uid, NSString* _Nullable tk, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkLogout(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkMarkC2CMessageAsRead(id _Nullable callback, NSString* _Nullable receiver, NSString* _Nullable msgIDList); + +FOUNDATION_EXPORT void Open_im_sdkMarkGroupMessageHasRead(id _Nullable callback, NSString* _Nullable groupID); + +FOUNDATION_EXPORT void Open_im_sdkMarkSingleMessageHasRead(id _Nullable callback, NSString* _Nullable userID); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkMd5(NSString* _Nullable s); + +FOUNDATION_EXPORT void Open_im_sdkPinConversation(NSString* _Nullable conversationID, BOOL isPinned, id _Nullable callback); + +// skipped function Post2Api with unsupported parameter or return types + + +FOUNDATION_EXPORT void Open_im_sdkQuitGroup(NSString* _Nullable groupId, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkRefuseFriendApplication(id _Nullable callback, NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkRefuseGroupApplication(NSString* _Nullable application, NSString* _Nullable reason, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkRevokeMessage(id _Nullable callback, NSString* _Nullable message); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkRunFuncName(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSdkVersion(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSendMessage(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable receiver, NSString* _Nullable groupID, BOOL onlineUserOnly); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSendMessageNotOss(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable receiver, NSString* _Nullable groupID, BOOL onlineUserOnly); + +FOUNDATION_EXPORT void Open_im_sdkSetConversationDraft(NSString* _Nullable conversationID, NSString* _Nullable draftText, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkSetConversationListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkSetFriendInfo(NSString* _Nullable comment, id _Nullable callback); + +FOUNDATION_EXPORT BOOL Open_im_sdkSetFriendListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkSetGroupInfo(NSString* _Nullable jsonGroupInfo, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkSetGroupListener(id _Nullable callback); + +/** + * 1 no print + */ +FOUNDATION_EXPORT void Open_im_sdkSetSdkLog(int32_t flag); + +FOUNDATION_EXPORT void Open_im_sdkSetSelfInfo(NSString* _Nullable info, id _Nullable cb); + +FOUNDATION_EXPORT int64_t Open_im_sdkStringToInt64(NSString* _Nullable i); + +FOUNDATION_EXPORT void Open_im_sdkTransferGroupOwner(NSString* _Nullable groupId, NSString* _Nullable userId, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkTypingStatusUpdate(NSString* _Nullable receiver, NSString* _Nullable msgTip); + +FOUNDATION_EXPORT void Open_im_sdkUnInitSDK(void); + +// skipped function UnixSecondToTime with unsupported parameter or return types + + +@class Open_im_sdkBase; + +@class Open_im_sdkIMSDKListener; + +@class Open_im_sdkOnAdvancedMsgListener; + +@class Open_im_sdkOnConversationListener; + +@class Open_im_sdkOnFriendshipListener; + +@class Open_im_sdkOnGroupListener; + +@class Open_im_sdkSendMsgCallBack; + +@interface Open_im_sdkBase : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@interface Open_im_sdkIMSDKListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onConnectFailed:(long)ErrCode ErrMsg:(NSString* _Nullable)ErrMsg; +- (void)onConnectSuccess; +- (void)onConnecting; +- (void)onKickedOffline; +- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; +- (void)onUserTokenExpired; +@end + +@interface Open_im_sdkOnAdvancedMsgListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; +- (void)onRecvMessageRevoked:(NSString* _Nullable)msgId; +- (void)onRecvNewMessage:(NSString* _Nullable)message; +@end + +@interface Open_im_sdkOnConversationListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onConversationChanged:(NSString* _Nullable)conversationList; +- (void)onNewConversation:(NSString* _Nullable)conversationList; +- (void)onSyncServerFailed; +- (void)onSyncServerFinish; +- (void)onSyncServerStart; +- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; +@end + +@interface Open_im_sdkOnFriendshipListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onBlackListAdd:(NSString* _Nullable)userInfo; +- (void)onBlackListDeleted:(NSString* _Nullable)userInfo; +- (void)onFriendApplicationListAccept:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListAdded:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListDeleted:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListReject:(NSString* _Nullable)applyUserInfo; +- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; +- (void)onFriendListAdded:(NSString* _Nullable)friendInfo; +- (void)onFriendListDeleted:(NSString* _Nullable)friendInfo; +@end + +@interface Open_im_sdkOnGroupListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onApplicationProcessed:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser AgreeOrReject:(int32_t)AgreeOrReject opReason:(NSString* _Nullable)opReason; +- (void)onGroupCreated:(NSString* _Nullable)groupId; +- (void)onGroupInfoChanged:(NSString* _Nullable)groupId groupInfo:(NSString* _Nullable)groupInfo; +- (void)onMemberEnter:(NSString* _Nullable)groupId memberList:(NSString* _Nullable)memberList; +- (void)onMemberInvited:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberKicked:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberLeave:(NSString* _Nullable)groupId member:(NSString* _Nullable)member; +- (void)onReceiveJoinApplication:(NSString* _Nullable)groupId member:(NSString* _Nullable)member opReason:(NSString* _Nullable)opReason; +@end + +@interface Open_im_sdkSendMsgCallBack : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onProgress:(long)progress; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/Universe.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/Universe.objc.h new file mode 100644 index 0000000..019e750 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/Universe.objc.h @@ -0,0 +1,29 @@ +// Objective-C API for talking to Go package. +// gobind -lang=objc +// +// File is generated by gobind. Do not edit. + +#ifndef __Universe_H__ +#define __Universe_H__ + +@import Foundation; +#include "ref.h" + +@protocol Universeerror; +@class Universeerror; + +@protocol Universeerror +- (NSString* _Nonnull)error; +@end + +@class Universeerror; + +@interface Universeerror : NSError { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (NSString* _Nonnull)error; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/ref.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/ref.h new file mode 100644 index 0000000..b8036a4 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Headers/ref.h @@ -0,0 +1,35 @@ +// Copyright 2015 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#ifndef __GO_REF_HDR__ +#define __GO_REF_HDR__ + +#include + +// GoSeqRef is an object tagged with an integer for passing back and +// forth across the language boundary. A GoSeqRef may represent either +// an instance of a Go object, or an Objective-C object passed to Go. +// The explicit allocation of a GoSeqRef is used to pin a Go object +// when it is passed to Objective-C. The Go seq package maintains a +// reference to the Go object in a map keyed by the refnum along with +// a reference count. When the reference count reaches zero, the Go +// seq package will clear the corresponding entry in the map. +@interface GoSeqRef : NSObject { +} +@property(readonly) int32_t refnum; +@property(strong) id obj; // NULL when representing a Go object. + +// new GoSeqRef object to proxy a Go object. The refnum must be +// provided from Go side. +- (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; + +- (int32_t)incNum; + +@end + +@protocol goSeqRefInterface +-(GoSeqRef*) _ref; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Modules/module.modulemap b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Modules/module.modulemap new file mode 100644 index 0000000..af98221 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module "OpenIMCore" { + header "ref.h" + header "Open_im_sdk.objc.h" + header "Universe.objc.h" + header "OpenIMCore.h" + + export * +} \ No newline at end of file diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/OpenIMCore b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/OpenIMCore new file mode 100644 index 0000000..b73a381 Binary files /dev/null and b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/OpenIMCore differ diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Resources/Info.plist b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Resources/Info.plist new file mode 100644 index 0000000..0d1a4b8 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64/OpenIMCore.framework/Versions/Current/Resources/Info.plist @@ -0,0 +1,6 @@ + + + + + + diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/OpenIMCore.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/OpenIMCore.h new file mode 100644 index 0000000..577bdd8 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/OpenIMCore.h @@ -0,0 +1,13 @@ + +// Objective-C API for talking to the following Go packages +// +// open_im_sdk/open_im_sdk +// +// File is generated by gomobile bind. Do not edit. +#ifndef __OpenIMCore_FRAMEWORK_H__ +#define __OpenIMCore_FRAMEWORK_H__ + +#include "Open_im_sdk.objc.h" +#include "Universe.objc.h" + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/Open_im_sdk.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/Open_im_sdk.objc.h new file mode 100644 index 0000000..2be1858 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/Open_im_sdk.objc.h @@ -0,0 +1,1460 @@ +// Objective-C API for talking to open_im_sdk/open_im_sdk Go package. +// gobind -lang=objc open_im_sdk/open_im_sdk +// +// File is generated by gobind. Do not edit. + +#ifndef __Open_im_sdk_H__ +#define __Open_im_sdk_H__ + +@import Foundation; +#include "ref.h" +#include "Universe.objc.h" + + +@class Open_im_sdkAgreeOrRejectGroupMember; +@class Open_im_sdkArrMsg; +@class Open_im_sdkChatLog; +@class Open_im_sdkConversationListener; +@class Open_im_sdkConversationStruct; +@class Open_im_sdkFileBaseInfo; +@class Open_im_sdkFriend; +@class Open_im_sdkGatherFormat; +@class Open_im_sdkGeneralWsReq; +@class Open_im_sdkGeneralWsResp; +@class Open_im_sdkGetMaxAndMinSeqReq; +@class Open_im_sdkGetMaxAndMinSeqResp; +@class Open_im_sdkGroupApplicationInfo; +@class Open_im_sdkGroupApplicationResponseReq; +@class Open_im_sdkGroupReqListInfo; +@class Open_im_sdkIMConfig; +@class Open_im_sdkIMManager; +@class Open_im_sdkLogInfo; +@class Open_im_sdkMessageReceipt; +@class Open_im_sdkMsgData; +@class Open_im_sdkMsgFormat; +@class Open_im_sdkMsgStruct; +@class Open_im_sdkNotificationContent; +@class Open_im_sdkPictureBaseInfo; +@class Open_im_sdkPullMessageBySeqListReq; +@class Open_im_sdkPullMessageBySeqListResp; +@class Open_im_sdkPullMsgReq; +@class Open_im_sdkPullUserMsgResp; +@class Open_im_sdkSendMsgRespFromServer; +@class Open_im_sdkSliceMock; +@class Open_im_sdkSoundBaseInfo; +@class Open_im_sdkSoundElem; +@class Open_im_sdkTransferGroupOwnerReq; +@class Open_im_sdkUid2Flag; +@class Open_im_sdkUserRelated; +@class Open_im_sdkUserSendMsgReq; +@class Open_im_sdkUserSendMsgResp; +@class Open_im_sdkVideoBaseInfo; +@class Open_im_sdkWsMsgData; +@class Open_im_sdkWsSendMsgResp; +@class Open_im_sdkWsSubMsg; +@protocol Open_im_sdkBase; +@class Open_im_sdkBase; +@protocol Open_im_sdkIMSDKListener; +@class Open_im_sdkIMSDKListener; +@protocol Open_im_sdkOnAdvancedMsgListener; +@class Open_im_sdkOnAdvancedMsgListener; +@protocol Open_im_sdkOnConversationListener; +@class Open_im_sdkOnConversationListener; +@protocol Open_im_sdkOnFriendshipListener; +@class Open_im_sdkOnFriendshipListener; +@protocol Open_im_sdkOnGroupListener; +@class Open_im_sdkOnGroupListener; +@protocol Open_im_sdkSendMsgCallBack; +@class Open_im_sdkSendMsgCallBack; + +@protocol Open_im_sdkBase +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@protocol Open_im_sdkIMSDKListener +- (void)onConnectFailed:(long)ErrCode ErrMsg:(NSString* _Nullable)ErrMsg; +- (void)onConnectSuccess; +- (void)onConnecting; +- (void)onKickedOffline; +- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; +- (void)onUserTokenExpired; +@end + +@protocol Open_im_sdkOnAdvancedMsgListener +- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; +- (void)onRecvMessageRevoked:(NSString* _Nullable)msgId; +- (void)onRecvNewMessage:(NSString* _Nullable)message; +@end + +@protocol Open_im_sdkOnConversationListener +- (void)onConversationChanged:(NSString* _Nullable)conversationList; +- (void)onNewConversation:(NSString* _Nullable)conversationList; +- (void)onSyncServerFailed; +- (void)onSyncServerFinish; +- (void)onSyncServerStart; +- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; +@end + +@protocol Open_im_sdkOnFriendshipListener +- (void)onBlackListAdd:(NSString* _Nullable)userInfo; +- (void)onBlackListDeleted:(NSString* _Nullable)userInfo; +- (void)onFriendApplicationListAccept:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListAdded:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListDeleted:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListReject:(NSString* _Nullable)applyUserInfo; +- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; +- (void)onFriendListAdded:(NSString* _Nullable)friendInfo; +- (void)onFriendListDeleted:(NSString* _Nullable)friendInfo; +@end + +@protocol Open_im_sdkOnGroupListener +- (void)onApplicationProcessed:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser AgreeOrReject:(int32_t)AgreeOrReject opReason:(NSString* _Nullable)opReason; +- (void)onGroupCreated:(NSString* _Nullable)groupId; +- (void)onGroupInfoChanged:(NSString* _Nullable)groupId groupInfo:(NSString* _Nullable)groupInfo; +- (void)onMemberEnter:(NSString* _Nullable)groupId memberList:(NSString* _Nullable)memberList; +- (void)onMemberInvited:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberKicked:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberLeave:(NSString* _Nullable)groupId member:(NSString* _Nullable)member; +- (void)onReceiveJoinApplication:(NSString* _Nullable)groupId member:(NSString* _Nullable)member opReason:(NSString* _Nullable)opReason; +@end + +@protocol Open_im_sdkSendMsgCallBack +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onProgress:(long)progress; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@interface Open_im_sdkAgreeOrRejectGroupMember : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull groupId; +@property (nonatomic) NSString* _Nonnull userId; +@property (nonatomic) long role; +// skipped field AgreeOrRejectGroupMember.JoinTime with unsupported type: uint64 + +@property (nonatomic) NSString* _Nonnull nickName; +@property (nonatomic) NSString* _Nonnull faceUrl; +@property (nonatomic) NSString* _Nonnull reason; +@end + +@interface Open_im_sdkArrMsg : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field ArrMsg.SingleData with unsupported type: []open_im_sdk/open_im_sdk.MsgData + +// skipped field ArrMsg.GroupData with unsupported type: []open_im_sdk/open_im_sdk.MsgData + +@end + +@interface Open_im_sdkChatLog : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull msgId; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) int32_t isRead; +@property (nonatomic) int64_t seq; +@property (nonatomic) int32_t status; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) NSString* _Nonnull content; +// skipped field ChatLog.Remark with unsupported type: database/sql.NullString + +@property (nonatomic) int32_t senderPlatformID; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int64_t createTime; +@end + +@interface Open_im_sdkConversationListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) id _Nullable conversationListenerx; +// skipped field ConversationListener.MsgListenerList with unsupported type: []open_im_sdk/open_im_sdk.OnAdvancedMsgListener + +@end + +@interface Open_im_sdkConversationStruct : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull conversationID; +@property (nonatomic) long conversationType; +@property (nonatomic) NSString* _Nonnull userID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull showName; +@property (nonatomic) NSString* _Nonnull faceURL; +@property (nonatomic) long recvMsgOpt; +@property (nonatomic) long unreadCount; +@property (nonatomic) NSString* _Nonnull latestMsg; +@property (nonatomic) int64_t latestMsgSendTime; +@property (nonatomic) NSString* _Nonnull draftText; +@property (nonatomic) int64_t draftTimestamp; +@property (nonatomic) long isPinned; +@end + +@interface Open_im_sdkFileBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull filePath; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) NSString* _Nonnull fileName; +@property (nonatomic) int64_t fileSize; +@end + +@interface Open_im_sdkFriend : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@end + +@interface Open_im_sdkGatherFormat : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +/** + * @inject_tag: json:"id" + */ +@property (nonatomic) NSString* _Nonnull id_; +// skipped field GatherFormat.List with unsupported type: []*open_im_sdk/open_im_sdk.MsgFormat + +// skipped field GatherFormat.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GatherFormat.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GatherFormat.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGeneralWsReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t reqIdentifier; +@property (nonatomic) NSString* _Nonnull token; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSString* _Nonnull msgIncr; +@property (nonatomic) NSData* _Nullable data; +@end + +@interface Open_im_sdkGeneralWsResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long reqIdentifier; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) NSString* _Nonnull msgIncr; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSData* _Nullable data; +@end + +@interface Open_im_sdkGetMaxAndMinSeqReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field GetMaxAndMinSeqReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GetMaxAndMinSeqReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GetMaxAndMinSeqReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGetMaxAndMinSeqResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t maxSeq; +@property (nonatomic) int64_t minSeq; +// skipped field GetMaxAndMinSeqResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GetMaxAndMinSeqResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GetMaxAndMinSeqResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGroupApplicationInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field GroupApplicationInfo.Info with unsupported type: open_im_sdk/open_im_sdk.accessOrRefuseGroupApplicationReq + +@property (nonatomic) NSString* _Nonnull handUserID; +@property (nonatomic) NSString* _Nonnull handUserName; +@property (nonatomic) NSString* _Nonnull handUserIcon; +@end + +@interface Open_im_sdkGroupApplicationResponseReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSString* _Nonnull ownerID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull fromUserID; +@property (nonatomic) NSString* _Nonnull fromUserNickName; +@property (nonatomic) NSString* _Nonnull fromUserFaceUrl; +@property (nonatomic) NSString* _Nonnull toUserID; +@property (nonatomic) NSString* _Nonnull toUserNickName; +@property (nonatomic) NSString* _Nonnull toUserFaceUrl; +@property (nonatomic) int64_t addTime; +@property (nonatomic) NSString* _Nonnull requestMsg; +@property (nonatomic) NSString* _Nonnull handledMsg; +@property (nonatomic) int32_t type; +@property (nonatomic) int32_t handleStatus; +@property (nonatomic) int32_t handleResult; +@end + +@interface Open_im_sdkGroupReqListInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull id_; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull fromUserID; +@property (nonatomic) NSString* _Nonnull toUserID; +@property (nonatomic) int32_t flag; +@property (nonatomic) NSString* _Nonnull requestMsg; +@property (nonatomic) NSString* _Nonnull handledMsg; +@property (nonatomic) int64_t addTime; +@property (nonatomic) NSString* _Nonnull fromUserNickname; +@property (nonatomic) NSString* _Nonnull toUserNickname; +@property (nonatomic) NSString* _Nonnull fromUserFaceUrl; +@property (nonatomic) NSString* _Nonnull toUserFaceUrl; +@property (nonatomic) NSString* _Nonnull handledUser; +@property (nonatomic) int32_t type; +@property (nonatomic) int32_t handleStatus; +@property (nonatomic) int32_t handleResult; +- (NSString* _Nonnull)key; +// skipped method GroupReqListInfo.Value with unsupported parameter or return types + +@end + +@interface Open_im_sdkIMConfig : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t platform; +@property (nonatomic) NSString* _Nonnull ipApiAddr; +@property (nonatomic) NSString* _Nonnull ipWsAddr; +@property (nonatomic) NSString* _Nonnull dbDir; +@end + +@interface Open_im_sdkIMManager : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long loginState; +@end + +@interface Open_im_sdkLogInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull info; +@end + +@interface Open_im_sdkMessageReceipt : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull userID; +// skipped field MessageReceipt.MsgIdList with unsupported type: []string + +@property (nonatomic) int64_t readTime; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t sessionType; +@end + +@interface Open_im_sdkMsgData : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int64_t seq; +@property (nonatomic) int32_t senderPlatformID; +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field MsgData.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method MsgData.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method MsgData.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkMsgFormat : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +/** + * @inject_tag: json:"sendID" + */ +@property (nonatomic) NSString* _Nonnull sendID; +/** + * @inject_tag: json:"recvID" + */ +@property (nonatomic) NSString* _Nonnull recvID; +/** + * @inject_tag: json:"msgFrom" + */ +@property (nonatomic) int32_t msgFrom; +/** + * @inject_tag: json:"contentType" + */ +@property (nonatomic) int32_t contentType; +/** + * @inject_tag: json:"serverMsgID" + */ +@property (nonatomic) NSString* _Nonnull serverMsgID; +/** + * @inject_tag: json:"content" + */ +@property (nonatomic) NSString* _Nonnull content; +/** + * @inject_tag: json:"seq" + */ +@property (nonatomic) int64_t seq; +/** + * @inject_tag: json:"sendTime" + */ +@property (nonatomic) int64_t sendTime; +/** + * @inject_tag: json:"senderPlatformID" + */ +@property (nonatomic) int32_t senderPlatformID; +/** + * @inject_tag: json:"senderNickName" + */ +@property (nonatomic) NSString* _Nonnull senderNickName; +/** + * @inject_tag: json:"senderFaceUrl" + */ +@property (nonatomic) NSString* _Nonnull senderFaceURL; +/** + * @inject_tag: json:"clientMsgID" + */ +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field MsgFormat.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method MsgFormat.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method MsgFormat.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkMsgStruct : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) int64_t createTime; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t platformID; +// skipped field MsgStruct.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) int64_t seq; +@property (nonatomic) BOOL isRead; +@property (nonatomic) int32_t status; +@property (nonatomic) NSString* _Nonnull remark; +// skipped field MsgStruct.PictureElem with unsupported type: struct{SourcePath string "json:\"sourcePath\""; SourcePicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"sourcePicture\""; BigPicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"bigPicture\""; SnapshotPicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"snapshotPicture\""} + +// skipped field MsgStruct.SoundElem with unsupported type: struct{UUID string "json:\"uuid\""; SoundPath string "json:\"soundPath\""; SourceURL string "json:\"sourceUrl\""; DataSize int64 "json:\"dataSize\""; Duration int64 "json:\"duration\""} + +// skipped field MsgStruct.VideoElem with unsupported type: struct{VideoPath string "json:\"videoPath\""; VideoUUID string "json:\"videoUUID\""; VideoURL string "json:\"videoUrl\""; VideoType string "json:\"videoType\""; VideoSize int64 "json:\"videoSize\""; Duration int64 "json:\"duration\""; SnapshotPath string "json:\"snapshotPath\""; SnapshotUUID string "json:\"snapshotUUID\""; SnapshotSize int64 "json:\"snapshotSize\""; SnapshotURL string "json:\"snapshotUrl\""; SnapshotWidth int32 "json:\"snapshotWidth\""; SnapshotHeight int32 "json:\"snapshotHeight\""} + +// skipped field MsgStruct.FileElem with unsupported type: struct{FilePath string "json:\"filePath\""; UUID string "json:\"uuid\""; SourceURL string "json:\"sourceUrl\""; FileName string "json:\"fileName\""; FileSize int64 "json:\"fileSize\""} + +// skipped field MsgStruct.MergeElem with unsupported type: struct{Title string "json:\"title\""; AbstractList []string "json:\"abstractList\""; MultiMessage []*open_im_sdk/open_im_sdk.MsgStruct "json:\"multiMessage\""} + +// skipped field MsgStruct.AtElem with unsupported type: struct{Text string "json:\"text\""; AtUserList []string "json:\"atUserList\""; IsAtSelf bool "json:\"isAtSelf\""} + +// skipped field MsgStruct.LocationElem with unsupported type: struct{Description string "json:\"description\""; Longitude float64 "json:\"longitude\""; Latitude float64 "json:\"latitude\""} + +// skipped field MsgStruct.CustomElem with unsupported type: struct{Data string "json:\"data\""; Description string "json:\"description\""; Extension string "json:\"extension\""} + +// skipped field MsgStruct.QuoteElem with unsupported type: struct{Text string "json:\"text\""; QuoteMessage *open_im_sdk/open_im_sdk.MsgStruct "json:\"quoteMessage\""} + +@end + +@interface Open_im_sdkNotificationContent : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t isDisplay; +@property (nonatomic) NSString* _Nonnull defaultTips; +@property (nonatomic) NSString* _Nonnull detail; +@end + +@interface Open_im_sdkPictureBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull type; +@property (nonatomic) int64_t size; +@property (nonatomic) int32_t width; +@property (nonatomic) int32_t height; +@property (nonatomic) NSString* _Nonnull url; +@end + +@interface Open_im_sdkPullMessageBySeqListReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field PullMessageBySeqListReq.SeqList with unsupported type: []int64 + +// skipped field PullMessageBySeqListReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method PullMessageBySeqListReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method PullMessageBySeqListReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkPullMessageBySeqListResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t maxSeq; +@property (nonatomic) int64_t minSeq; +// skipped field PullMessageBySeqListResp.SingleUserMsg with unsupported type: []*open_im_sdk/open_im_sdk.GatherFormat + +// skipped field PullMessageBySeqListResp.GroupUserMsg with unsupported type: []*open_im_sdk/open_im_sdk.GatherFormat + +// skipped field PullMessageBySeqListResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method PullMessageBySeqListResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method PullMessageBySeqListResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkPullMsgReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull userID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) Open_im_sdkMsgStruct* _Nullable startMsg; +@property (nonatomic) long count; +@end + +@interface Open_im_sdkPullUserMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) long reqIdentifier; +@property (nonatomic) long msgIncr; +// skipped field PullUserMsgResp.Data with unsupported type: open_im_sdk/open_im_sdk.paramsPullUserMsgDataResp + +@end + +@interface Open_im_sdkSendMsgRespFromServer : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) long reqIdentifier; +// skipped field SendMsgRespFromServer.Data with unsupported type: struct{ServerMsgID string "json:\"serverMsgID\""; ClientMsgID string "json:\"clientMsgID\""; SendTime int64 "json:\"sendTime\""} + +@end + +@interface Open_im_sdkSliceMock : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@end + +@interface Open_im_sdkSoundBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull soundPath; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) int64_t dataSize; +@property (nonatomic) int64_t duration; +@end + +@interface Open_im_sdkSoundElem : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull soundPath; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) int64_t dataSize; +@property (nonatomic) int64_t duration; +@end + +@interface Open_im_sdkTransferGroupOwnerReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull oldOwner; +@property (nonatomic) NSString* _Nonnull newOwner; +@property (nonatomic) NSString* _Nonnull operationID; +@end + +@interface Open_im_sdkUid2Flag : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uid; +@property (nonatomic) int32_t flag; +@end + +@interface Open_im_sdkUserRelated : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field UserRelated.ConversationCh with unsupported type: chan open_im_sdk/open_im_sdk.cmd2Value + +// skipped field UserRelated.SvrConf with unsupported type: open_im_sdk/open_im_sdk.IMConfig + +@property (nonatomic) NSString* _Nonnull loginUid; +// skipped field UserRelated.IMManager with unsupported type: open_im_sdk/open_im_sdk.IMManager + +// skipped field UserRelated.Friend with unsupported type: open_im_sdk/open_im_sdk.Friend + +// skipped field UserRelated.ConversationListener with unsupported type: open_im_sdk/open_im_sdk.ConversationListener + +- (void)acceptFriendApplication:(id _Nullable)callback uid:(NSString* _Nullable)uid; +- (void)acceptGroupApplication:(NSString* _Nullable)application reason:(NSString* _Nullable)reason callback:(id _Nullable)callback; +- (void)addAdvancedMsgListener:(id _Nullable)listener; +// skipped method UserRelated.AddCh with unsupported parameter or return types + +- (void)addFriend:(id _Nullable)callback paramsReq:(NSString* _Nullable)paramsReq; +- (void)addToBlackList:(id _Nullable)callback blackUid:(NSString* _Nullable)blackUid; +- (void)checkFriend:(id _Nullable)callback uidList:(NSString* _Nullable)uidList; +- (NSString* _Nonnull)createCardMessage:(NSString* _Nullable)cardInfo; +- (NSString* _Nonnull)createCustomMessage:(NSString* _Nullable)data extension:(NSString* _Nullable)extension description:(NSString* _Nullable)description; +- (NSString* _Nonnull)createFileMessage:(NSString* _Nullable)filePath fileName:(NSString* _Nullable)fileName; +- (NSString* _Nonnull)createFileMessageByURL:(NSString* _Nullable)fileBaseInfo; +- (NSString* _Nonnull)createFileMessageFromFullPath:(NSString* _Nullable)fileFullPath fileName:(NSString* _Nullable)fileName; +- (NSString* _Nonnull)createForwardMessage:(NSString* _Nullable)m; +- (void)createGroup:(NSString* _Nullable)gInfo memberList:(NSString* _Nullable)memberList callback:(id _Nullable)callback; +- (NSString* _Nonnull)createImageMessage:(NSString* _Nullable)imagePath; +- (NSString* _Nonnull)createImageMessageByURL:(NSString* _Nullable)sourcePicture bigPicture:(NSString* _Nullable)bigPicture snapshotPicture:(NSString* _Nullable)snapshotPicture; +- (NSString* _Nonnull)createImageMessageFromFullPath:(NSString* _Nullable)imageFullPath; +- (NSString* _Nonnull)createLocationMessage:(NSString* _Nullable)description longitude:(double)longitude latitude:(double)latitude; +- (NSString* _Nonnull)createMergerMessage:(NSString* _Nullable)messageList title:(NSString* _Nullable)title summaryList:(NSString* _Nullable)summaryList; +- (NSString* _Nonnull)createQuoteMessage:(NSString* _Nullable)text message:(NSString* _Nullable)message; +- (NSString* _Nonnull)createSoundMessage:(NSString* _Nullable)soundPath duration:(int64_t)duration; +- (NSString* _Nonnull)createSoundMessageByURL:(NSString* _Nullable)soundBaseInfo; +- (NSString* _Nonnull)createSoundMessageFromFullPath:(NSString* _Nullable)soundPath duration:(int64_t)duration; +- (NSString* _Nonnull)createTextAtMessage:(NSString* _Nullable)text atUserList:(NSString* _Nullable)atUserList; +- (NSString* _Nonnull)createTextMessage:(NSString* _Nullable)text; +- (NSString* _Nonnull)createVideoMessage:(NSString* _Nullable)videoPath videoType:(NSString* _Nullable)videoType duration:(int64_t)duration snapshotPath:(NSString* _Nullable)snapshotPath; +- (NSString* _Nonnull)createVideoMessageByURL:(NSString* _Nullable)videoBaseInfo; +- (NSString* _Nonnull)createVideoMessageFromFullPath:(NSString* _Nullable)videoFullPath videoType:(NSString* _Nullable)videoType duration:(int64_t)duration snapshotFullPath:(NSString* _Nullable)snapshotFullPath; +- (void)delCh:(NSString* _Nullable)msgIncr; +- (void)deleteConversation:(NSString* _Nullable)conversationID callback:(id _Nullable)callback; +- (void)deleteFromBlackList:(id _Nullable)callback deleteUid:(NSString* _Nullable)deleteUid; +- (void)deleteFromFriendList:(NSString* _Nullable)deleteUid callback:(id _Nullable)callback; +- (void)deleteMessageFromLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message; +- (void)findMessages:(id _Nullable)callback messageIDList:(NSString* _Nullable)messageIDList; +- (void)forceReConn; +- (void)forceSyncApplyGroupRequest; +- (void)forceSyncBlackList; +- (void)forceSyncFriend; +- (void)forceSyncFriendApplication; +- (void)forceSyncGroupRequest; +- (void)forceSyncJoinedGroup; +- (void)forceSyncJoinedGroupMember; +- (void)forceSyncLoginUserInfo; +- (BOOL)forceSyncMsg; +- (NSString* _Nonnull)genMsgIncr; +- (void)getAllConversationList:(id _Nullable)callback; +- (void)getBlackList:(id _Nullable)callback; +// skipped method UserRelated.GetCh with unsupported parameter or return types + +- (void)getFriendApplicationList:(id _Nullable)callback; +- (void)getFriendList:(id _Nullable)callback; +- (void)getFriendsInfo:(id _Nullable)callback uidList:(NSString* _Nullable)uidList; +- (void)getGroupApplicationList:(id _Nullable)callback; +- (void)getGroupMemberList:(NSString* _Nullable)groupId filter:(int32_t)filter next:(int32_t)next callback:(id _Nullable)callback; +- (void)getGroupMembersInfo:(NSString* _Nullable)groupId userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)getGroupsInfo:(NSString* _Nullable)groupIdList callback:(id _Nullable)callback; +- (void)getHistoryMessageList:(id _Nullable)callback getMessageOptions:(NSString* _Nullable)getMessageOptions; +- (void)getJoinedGroupList:(id _Nullable)callback; +- (long)getLoginStatus; +- (NSString* _Nonnull)getLoginUser; +- (int64_t)getMinSeqSvr; +- (void)getMultipleConversation:(NSString* _Nullable)conversationIDList callback:(id _Nullable)callback; +- (void)getOneConversation:(NSString* _Nullable)sourceID sessionType:(long)sessionType callback:(id _Nullable)callback; +- (void)getTotalUnreadMsgCount:(id _Nullable)callback; +- (void)getUsersInfo:(NSString* _Nullable)uIDList cb:(id _Nullable)cb; +// skipped method UserRelated.GroupApplicationProcessedCallback with unsupported parameter or return types + +- (BOOL)initSDK:(NSString* _Nullable)config cb:(id _Nullable)cb; +- (NSString* _Nonnull)insertGroupMessageToLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message groupID:(NSString* _Nullable)groupID sender:(NSString* _Nullable)sender; +- (NSString* _Nonnull)insertSingleMessageToLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message userID:(NSString* _Nullable)userID sender:(NSString* _Nullable)sender; +- (void)inviteUserToGroup:(NSString* _Nullable)groupId reason:(NSString* _Nullable)reason userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)joinGroup:(NSString* _Nullable)groupId message:(NSString* _Nullable)message callback:(id _Nullable)callback; +- (void)kickGroupMember:(NSString* _Nullable)groupId reason:(NSString* _Nullable)reason userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)login:(NSString* _Nullable)uid tk:(NSString* _Nullable)tk callback:(id _Nullable)callback; +- (void)logout:(id _Nullable)callback; +- (void)markC2CMessageAsRead:(id _Nullable)callback receiver:(NSString* _Nullable)receiver msgIDList:(NSString* _Nullable)msgIDList; +- (void)markGroupMessageHasRead:(id _Nullable)callback groupID:(NSString* _Nullable)groupID; +- (void)markSingleMessageHasRead:(id _Nullable)callback userID:(NSString* _Nullable)userID; +// skipped method UserRelated.OnMemberInvited with unsupported parameter or return types + +// skipped method UserRelated.OnMemberKicked with unsupported parameter or return types + +- (void)pinConversation:(NSString* _Nullable)conversationID isPinned:(BOOL)isPinned callback:(id _Nullable)callback; +// skipped method UserRelated.Prepare with unsupported parameter or return types + +// skipped method UserRelated.Query with unsupported parameter or return types + +- (void)quitGroup:(NSString* _Nullable)groupId callback:(id _Nullable)callback; +- (void)refuseFriendApplication:(id _Nullable)callback uid:(NSString* _Nullable)uid; +- (void)refuseGroupApplication:(NSString* _Nullable)application reason:(NSString* _Nullable)reason callback:(id _Nullable)callback; +- (BOOL)resetConversation:(NSString* _Nullable)conversationID error:(NSError* _Nullable* _Nullable)error; +- (void)revokeMessage:(id _Nullable)callback message:(NSString* _Nullable)message; +- (NSString* _Nonnull)sendMessage:(id _Nullable)callback message:(NSString* _Nullable)message receiver:(NSString* _Nullable)receiver groupID:(NSString* _Nullable)groupID onlineUserOnly:(BOOL)onlineUserOnly; +- (NSString* _Nonnull)sendMessageNotOss:(id _Nullable)callback message:(NSString* _Nullable)message receiver:(NSString* _Nullable)receiver groupID:(NSString* _Nullable)groupID onlineUserOnly:(BOOL)onlineUserOnly; +- (void)setConversationDraft:(NSString* _Nullable)conversationID draftText:(NSString* _Nullable)draftText callback:(id _Nullable)callback; +- (void)setConversationListener:(id _Nullable)listener; +- (void)setFriendInfo:(NSString* _Nullable)comment callback:(id _Nullable)callback; +- (BOOL)setFriendListener:(id _Nullable)listener; +- (void)setGroupInfo:(NSString* _Nullable)jsonGroupInfo callback:(id _Nullable)callback; +- (void)setGroupListener:(id _Nullable)callback; +- (void)setMinSeqSvr:(int64_t)minSeqSvr; +- (void)setSelfInfo:(NSString* _Nullable)info cb:(id _Nullable)cb; +- (void)transferGroupOwner:(NSString* _Nullable)groupId userId:(NSString* _Nullable)userId callback:(id _Nullable)callback; +- (void)typingStatusUpdate:(NSString* _Nullable)receiver msgTip:(NSString* _Nullable)msgTip; +- (void)unInitSDK; +// skipped method UserRelated.WriteMsg with unsupported parameter or return types + +@end + +@interface Open_im_sdkUserSendMsgReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field UserSendMsgReq.Options with unsupported type: map[string]int32 + +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) int32_t platformID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull recvID; +// skipped field UserSendMsgReq.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field UserSendMsgReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method UserSendMsgReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method UserSendMsgReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkUserSendMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) int64_t sendTime; +// skipped field UserSendMsgResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method UserSendMsgResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method UserSendMsgResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkVideoBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull videoPath; +@property (nonatomic) NSString* _Nonnull videoUUID; +@property (nonatomic) NSString* _Nonnull videoURL; +@property (nonatomic) NSString* _Nonnull videoType; +@property (nonatomic) int64_t videoSize; +@property (nonatomic) int64_t duration; +@property (nonatomic) NSString* _Nonnull snapshotPath; +@property (nonatomic) NSString* _Nonnull snapshotUUID; +@property (nonatomic) int64_t snapshotSize; +@property (nonatomic) NSString* _Nonnull snapshotURL; +@property (nonatomic) int32_t snapshotWidth; +@property (nonatomic) int32_t snapshotHeight; +@end + +@interface Open_im_sdkWsMsgData : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t platformID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull recvID; +// skipped field WsMsgData.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull content; +// skipped field WsMsgData.Options with unsupported type: map[string]interface{} + +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field WsMsgData.OfflineInfo with unsupported type: map[string]interface{} + +// skipped field WsMsgData.Ext with unsupported type: map[string]interface{} + +@end + +@interface Open_im_sdkWsSendMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) int64_t sendTime; +@end + +@interface Open_im_sdkWsSubMsg : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@end + +FOUNDATION_EXPORT const int64_t Open_im_sdkAcceptFriendApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAcceptGroupApplicationTip; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkAcceptGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAddConOrUpLatMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkAddFriendTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAtText; +FOUNDATION_EXPORT const int64_t Open_im_sdkCard; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdAcceptFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdAddFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdBlackList; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdDeleteConversation; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncFriendApplication; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncLoginUerInfo; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncMsg; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFriendApplication; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFroceSyncBlackList; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdGeyLoginUserInfo; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdNewMsgCome; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdReLogin; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdRefuseFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdUnInit; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdUpdateConversation; +FOUNDATION_EXPORT const int64_t Open_im_sdkConAndUnreadChange; +FOUNDATION_EXPORT const int64_t Open_im_sdkConChange; +FOUNDATION_EXPORT const int64_t Open_im_sdkCreateGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkCustom; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkDeFaultSuccessMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeConversation; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeFriend; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeInitLogin; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeUserInfo; +FOUNDATION_EXPORT const int64_t Open_im_sdkFile; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkFriendAcceptTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionAcceptGroupApplication; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionApplyJoinGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionCreateGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionInviteUserToGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionKickGroupMember; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionQuitGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionRefuseGroupApplication; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionSetGroupInfo; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionTransferGroupOwner; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupChatType; +/** + * /////////////////////////////////////// + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupTipBegin; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupTipEnd; +FOUNDATION_EXPORT const int64_t Open_im_sdkHasRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkHasReadReceipt; +FOUNDATION_EXPORT const int64_t Open_im_sdkIncrUnread; +FOUNDATION_EXPORT const int64_t Open_im_sdkInviteUserToGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkJoinGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkKickGroupMemberTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkKickOnlineTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkLocation; +FOUNDATION_EXPORT const int64_t Open_im_sdkLoginFailed; +FOUNDATION_EXPORT const int64_t Open_im_sdkLoginSuccess; +FOUNDATION_EXPORT const int64_t Open_im_sdkLogining; +FOUNDATION_EXPORT const int64_t Open_im_sdkLogoutCmd; +FOUNDATION_EXPORT const int64_t Open_im_sdkMaxTotalMsgLen; +FOUNDATION_EXPORT const int64_t Open_im_sdkMerger; +FOUNDATION_EXPORT const int64_t Open_im_sdkMessageHasNotRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkMessageHasRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusHasDeleted; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusRevoked; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSendFailed; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSendSuccess; +/** + * MsgStatus + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSending; +FOUNDATION_EXPORT const int64_t Open_im_sdkNotRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkPicture; +FOUNDATION_EXPORT const int64_t Open_im_sdkQuitGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkQuote; +FOUNDATION_EXPORT const int64_t Open_im_sdkRefuseFriendApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkRefuseGroupApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkRevoke; +FOUNDATION_EXPORT const int64_t Open_im_sdkSetGroupInfoTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkSetSelfInfoTip; +/** + * /////////////////////////////////// +SessionType + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleChatType; +/** + * //////////////////////////////////////// + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleTipBegin; +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleTipEnd; +FOUNDATION_EXPORT const int64_t Open_im_sdkSound; +FOUNDATION_EXPORT const int64_t Open_im_sdkSysMsgType; +/** + * ContentType + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkText; +FOUNDATION_EXPORT const int64_t Open_im_sdkTimeOffset; +FOUNDATION_EXPORT const int64_t Open_im_sdkTotalUnreadMessageChanged; +FOUNDATION_EXPORT const int64_t Open_im_sdkTransferGroupOwnerTip; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkTransferGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkTyping; +FOUNDATION_EXPORT const int64_t Open_im_sdkUnreadCountSetZero; +FOUNDATION_EXPORT const int64_t Open_im_sdkUpdateFaceUrlAndNickName; +/** + * ////////////////////////////////////// +MsgFrom + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkUserMsgType; +FOUNDATION_EXPORT const int64_t Open_im_sdkVideo; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSDataError; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSGetNewestSeq; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPullMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPullMsgBySeqList; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPushMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSSendMsg; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkZoomScale; + +@interface Open_im_sdk : NSObject ++ (int32_t) sdkLogFlag; ++ (void) setSdkLogFlag:(int32_t)v; + +// skipped variable SvrConf with unsupported type: open_im_sdk/open_im_sdk.IMConfig + +// skipped variable UserRouterMap with unsupported type: map[string]*open_im_sdk/open_im_sdk.UserRelated + +// skipped variable UserSDKRwLock with unsupported type: sync.RWMutex + +@end + +FOUNDATION_EXPORT void Open_im_sdkAcceptFriendApplication(id _Nullable callback, NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkAcceptGroupApplication(NSString* _Nullable application, NSString* _Nullable reason, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkAddAdvancedMsgListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkAddFriend(id _Nullable callback, NSString* _Nullable paramsReq); + +FOUNDATION_EXPORT void Open_im_sdkAddToBlackList(id _Nullable callback, NSString* _Nullable blackUid); + +FOUNDATION_EXPORT void Open_im_sdkCheckFriend(id _Nullable callback, NSString* _Nullable uidList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCardMessage(NSString* _Nullable cardInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCustomMessage(NSString* _Nullable data, NSString* _Nullable extension, NSString* _Nullable description); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessage(NSString* _Nullable filePath, NSString* _Nullable fileName); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageByURL(NSString* _Nullable fileBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageFromFullPath(NSString* _Nullable fileFullPath, NSString* _Nullable fileName); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateForwardMessage(NSString* _Nullable m); + +FOUNDATION_EXPORT void Open_im_sdkCreateGroup(NSString* _Nullable gInfo, NSString* _Nullable memberList, id _Nullable callback); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessage(NSString* _Nullable imagePath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageByURL(NSString* _Nullable sourcePicture, NSString* _Nullable bigPicture, NSString* _Nullable snapshotPicture); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageFromFullPath(NSString* _Nullable imageFullPath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateLocationMessage(NSString* _Nullable description, double longitude, double latitude); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateMergerMessage(NSString* _Nullable messageList, NSString* _Nullable title, NSString* _Nullable summaryList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateQuoteMessage(NSString* _Nullable text, NSString* _Nullable message); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessage(NSString* _Nullable soundPath, int64_t duration); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageByURL(NSString* _Nullable soundBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageFromFullPath(NSString* _Nullable soundPath, int64_t duration); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextAtMessage(NSString* _Nullable text, NSString* _Nullable atUserList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextMessage(NSString* _Nullable text); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessage(NSString* _Nullable videoPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotPath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageByURL(NSString* _Nullable videoBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageFromFullPath(NSString* _Nullable videoFullPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotFullPath); + +FOUNDATION_EXPORT void Open_im_sdkDeleteConversation(NSString* _Nullable conversationID, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkDeleteFromBlackList(id _Nullable callback, NSString* _Nullable deleteUid); + +FOUNDATION_EXPORT void Open_im_sdkDeleteFromFriendList(NSString* _Nullable deleteUid, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkDeleteMessageFromLocalStorage(id _Nullable callback, NSString* _Nullable message); + +FOUNDATION_EXPORT void Open_im_sdkFindMessages(id _Nullable callback, NSString* _Nullable messageIDList); + +FOUNDATION_EXPORT void Open_im_sdkForceSyncLoginUerInfo(void); + +FOUNDATION_EXPORT BOOL Open_im_sdkForceSyncMsg(void); + +FOUNDATION_EXPORT void Open_im_sdkGetAllConversationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetBlackList(id _Nullable callback); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetConversationIDBySessionType(NSString* _Nullable sourceID, long sessionType); + +/** + * Get the current timestamp by Mill + */ +FOUNDATION_EXPORT int64_t Open_im_sdkGetCurrentTimestampByMill(void); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendApplicationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendsInfo(id _Nullable callback, NSString* _Nullable uidList); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupApplicationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupMemberList(NSString* _Nullable groupId, int32_t filter, int32_t next, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupMembersInfo(NSString* _Nullable groupId, NSString* _Nullable userList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupsInfo(NSString* _Nullable groupIdList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetHistoryMessageList(id _Nullable callback, NSString* _Nullable getMessageOptions); + +FOUNDATION_EXPORT void Open_im_sdkGetJoinedGroupList(id _Nullable callback); + +FOUNDATION_EXPORT long Open_im_sdkGetLoginStatus(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetLoginUser(void); + +FOUNDATION_EXPORT void Open_im_sdkGetMultipleConversation(NSString* _Nullable conversationIDList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetOneConversation(NSString* _Nullable sourceID, long sessionType, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetTotalUnreadMsgCount(id _Nullable callback); + +FOUNDATION_EXPORT Open_im_sdkUserRelated* _Nullable Open_im_sdkGetUserWorker(NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkGetUsersInfo(NSString* _Nullable uIDList, id _Nullable cb); + +FOUNDATION_EXPORT BOOL Open_im_sdkInitOnce(Open_im_sdkIMConfig* _Nullable config); + +FOUNDATION_EXPORT BOOL Open_im_sdkInitSDK(NSString* _Nullable config, id _Nullable cb); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkInsertSingleMessageToLocalStorage(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable userID, NSString* _Nullable sender); + +FOUNDATION_EXPORT void Open_im_sdkInviteUserToGroup(NSString* _Nullable groupId, NSString* _Nullable reason, NSString* _Nullable userList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkJoinGroup(NSString* _Nullable groupId, NSString* _Nullable message, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkKickGroupMember(NSString* _Nullable groupId, NSString* _Nullable reason, NSString* _Nullable userList, id _Nullable callback); + +// skipped function LogBegin with unsupported parameter or return types + + +// skipped function LogEnd with unsupported parameter or return types + + +// skipped function LogFReturn with unsupported parameter or return types + + +// skipped function LogSReturn with unsupported parameter or return types + + +// skipped function LogStart with unsupported parameter or return types + + +FOUNDATION_EXPORT void Open_im_sdkLogin(NSString* _Nullable uid, NSString* _Nullable tk, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkLogout(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkMarkC2CMessageAsRead(id _Nullable callback, NSString* _Nullable receiver, NSString* _Nullable msgIDList); + +FOUNDATION_EXPORT void Open_im_sdkMarkGroupMessageHasRead(id _Nullable callback, NSString* _Nullable groupID); + +FOUNDATION_EXPORT void Open_im_sdkMarkSingleMessageHasRead(id _Nullable callback, NSString* _Nullable userID); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkMd5(NSString* _Nullable s); + +FOUNDATION_EXPORT void Open_im_sdkPinConversation(NSString* _Nullable conversationID, BOOL isPinned, id _Nullable callback); + +// skipped function Post2Api with unsupported parameter or return types + + +FOUNDATION_EXPORT void Open_im_sdkQuitGroup(NSString* _Nullable groupId, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkRefuseFriendApplication(id _Nullable callback, NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkRefuseGroupApplication(NSString* _Nullable application, NSString* _Nullable reason, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkRevokeMessage(id _Nullable callback, NSString* _Nullable message); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkRunFuncName(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSdkVersion(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSendMessage(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable receiver, NSString* _Nullable groupID, BOOL onlineUserOnly); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSendMessageNotOss(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable receiver, NSString* _Nullable groupID, BOOL onlineUserOnly); + +FOUNDATION_EXPORT void Open_im_sdkSetConversationDraft(NSString* _Nullable conversationID, NSString* _Nullable draftText, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkSetConversationListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkSetFriendInfo(NSString* _Nullable comment, id _Nullable callback); + +FOUNDATION_EXPORT BOOL Open_im_sdkSetFriendListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkSetGroupInfo(NSString* _Nullable jsonGroupInfo, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkSetGroupListener(id _Nullable callback); + +/** + * 1 no print + */ +FOUNDATION_EXPORT void Open_im_sdkSetSdkLog(int32_t flag); + +FOUNDATION_EXPORT void Open_im_sdkSetSelfInfo(NSString* _Nullable info, id _Nullable cb); + +FOUNDATION_EXPORT int64_t Open_im_sdkStringToInt64(NSString* _Nullable i); + +FOUNDATION_EXPORT void Open_im_sdkTransferGroupOwner(NSString* _Nullable groupId, NSString* _Nullable userId, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkTypingStatusUpdate(NSString* _Nullable receiver, NSString* _Nullable msgTip); + +FOUNDATION_EXPORT void Open_im_sdkUnInitSDK(void); + +// skipped function UnixSecondToTime with unsupported parameter or return types + + +@class Open_im_sdkBase; + +@class Open_im_sdkIMSDKListener; + +@class Open_im_sdkOnAdvancedMsgListener; + +@class Open_im_sdkOnConversationListener; + +@class Open_im_sdkOnFriendshipListener; + +@class Open_im_sdkOnGroupListener; + +@class Open_im_sdkSendMsgCallBack; + +@interface Open_im_sdkBase : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@interface Open_im_sdkIMSDKListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onConnectFailed:(long)ErrCode ErrMsg:(NSString* _Nullable)ErrMsg; +- (void)onConnectSuccess; +- (void)onConnecting; +- (void)onKickedOffline; +- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; +- (void)onUserTokenExpired; +@end + +@interface Open_im_sdkOnAdvancedMsgListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; +- (void)onRecvMessageRevoked:(NSString* _Nullable)msgId; +- (void)onRecvNewMessage:(NSString* _Nullable)message; +@end + +@interface Open_im_sdkOnConversationListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onConversationChanged:(NSString* _Nullable)conversationList; +- (void)onNewConversation:(NSString* _Nullable)conversationList; +- (void)onSyncServerFailed; +- (void)onSyncServerFinish; +- (void)onSyncServerStart; +- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; +@end + +@interface Open_im_sdkOnFriendshipListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onBlackListAdd:(NSString* _Nullable)userInfo; +- (void)onBlackListDeleted:(NSString* _Nullable)userInfo; +- (void)onFriendApplicationListAccept:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListAdded:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListDeleted:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListReject:(NSString* _Nullable)applyUserInfo; +- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; +- (void)onFriendListAdded:(NSString* _Nullable)friendInfo; +- (void)onFriendListDeleted:(NSString* _Nullable)friendInfo; +@end + +@interface Open_im_sdkOnGroupListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onApplicationProcessed:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser AgreeOrReject:(int32_t)AgreeOrReject opReason:(NSString* _Nullable)opReason; +- (void)onGroupCreated:(NSString* _Nullable)groupId; +- (void)onGroupInfoChanged:(NSString* _Nullable)groupId groupInfo:(NSString* _Nullable)groupInfo; +- (void)onMemberEnter:(NSString* _Nullable)groupId memberList:(NSString* _Nullable)memberList; +- (void)onMemberInvited:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberKicked:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberLeave:(NSString* _Nullable)groupId member:(NSString* _Nullable)member; +- (void)onReceiveJoinApplication:(NSString* _Nullable)groupId member:(NSString* _Nullable)member opReason:(NSString* _Nullable)opReason; +@end + +@interface Open_im_sdkSendMsgCallBack : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onProgress:(long)progress; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/Universe.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/Universe.objc.h new file mode 100644 index 0000000..019e750 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/Universe.objc.h @@ -0,0 +1,29 @@ +// Objective-C API for talking to Go package. +// gobind -lang=objc +// +// File is generated by gobind. Do not edit. + +#ifndef __Universe_H__ +#define __Universe_H__ + +@import Foundation; +#include "ref.h" + +@protocol Universeerror; +@class Universeerror; + +@protocol Universeerror +- (NSString* _Nonnull)error; +@end + +@class Universeerror; + +@interface Universeerror : NSError { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (NSString* _Nonnull)error; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/ref.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/ref.h new file mode 100644 index 0000000..b8036a4 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Headers/ref.h @@ -0,0 +1,35 @@ +// Copyright 2015 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#ifndef __GO_REF_HDR__ +#define __GO_REF_HDR__ + +#include + +// GoSeqRef is an object tagged with an integer for passing back and +// forth across the language boundary. A GoSeqRef may represent either +// an instance of a Go object, or an Objective-C object passed to Go. +// The explicit allocation of a GoSeqRef is used to pin a Go object +// when it is passed to Objective-C. The Go seq package maintains a +// reference to the Go object in a map keyed by the refnum along with +// a reference count. When the reference count reaches zero, the Go +// seq package will clear the corresponding entry in the map. +@interface GoSeqRef : NSObject { +} +@property(readonly) int32_t refnum; +@property(strong) id obj; // NULL when representing a Go object. + +// new GoSeqRef object to proxy a Go object. The refnum must be +// provided from Go side. +- (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; + +- (int32_t)incNum; + +@end + +@protocol goSeqRefInterface +-(GoSeqRef*) _ref; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Modules/module.modulemap b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Modules/module.modulemap new file mode 100644 index 0000000..af98221 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module "OpenIMCore" { + header "ref.h" + header "Open_im_sdk.objc.h" + header "Universe.objc.h" + header "OpenIMCore.h" + + export * +} \ No newline at end of file diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/OpenIMCore b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/OpenIMCore new file mode 100644 index 0000000..fe3742b Binary files /dev/null and b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/OpenIMCore differ diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Resources/Info.plist b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Resources/Info.plist new file mode 100644 index 0000000..0d1a4b8 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Resources/Info.plist @@ -0,0 +1,6 @@ + + + + + + diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/OpenIMCore.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/OpenIMCore.h new file mode 100644 index 0000000..577bdd8 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/OpenIMCore.h @@ -0,0 +1,13 @@ + +// Objective-C API for talking to the following Go packages +// +// open_im_sdk/open_im_sdk +// +// File is generated by gomobile bind. Do not edit. +#ifndef __OpenIMCore_FRAMEWORK_H__ +#define __OpenIMCore_FRAMEWORK_H__ + +#include "Open_im_sdk.objc.h" +#include "Universe.objc.h" + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/Open_im_sdk.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/Open_im_sdk.objc.h new file mode 100644 index 0000000..2be1858 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/Open_im_sdk.objc.h @@ -0,0 +1,1460 @@ +// Objective-C API for talking to open_im_sdk/open_im_sdk Go package. +// gobind -lang=objc open_im_sdk/open_im_sdk +// +// File is generated by gobind. Do not edit. + +#ifndef __Open_im_sdk_H__ +#define __Open_im_sdk_H__ + +@import Foundation; +#include "ref.h" +#include "Universe.objc.h" + + +@class Open_im_sdkAgreeOrRejectGroupMember; +@class Open_im_sdkArrMsg; +@class Open_im_sdkChatLog; +@class Open_im_sdkConversationListener; +@class Open_im_sdkConversationStruct; +@class Open_im_sdkFileBaseInfo; +@class Open_im_sdkFriend; +@class Open_im_sdkGatherFormat; +@class Open_im_sdkGeneralWsReq; +@class Open_im_sdkGeneralWsResp; +@class Open_im_sdkGetMaxAndMinSeqReq; +@class Open_im_sdkGetMaxAndMinSeqResp; +@class Open_im_sdkGroupApplicationInfo; +@class Open_im_sdkGroupApplicationResponseReq; +@class Open_im_sdkGroupReqListInfo; +@class Open_im_sdkIMConfig; +@class Open_im_sdkIMManager; +@class Open_im_sdkLogInfo; +@class Open_im_sdkMessageReceipt; +@class Open_im_sdkMsgData; +@class Open_im_sdkMsgFormat; +@class Open_im_sdkMsgStruct; +@class Open_im_sdkNotificationContent; +@class Open_im_sdkPictureBaseInfo; +@class Open_im_sdkPullMessageBySeqListReq; +@class Open_im_sdkPullMessageBySeqListResp; +@class Open_im_sdkPullMsgReq; +@class Open_im_sdkPullUserMsgResp; +@class Open_im_sdkSendMsgRespFromServer; +@class Open_im_sdkSliceMock; +@class Open_im_sdkSoundBaseInfo; +@class Open_im_sdkSoundElem; +@class Open_im_sdkTransferGroupOwnerReq; +@class Open_im_sdkUid2Flag; +@class Open_im_sdkUserRelated; +@class Open_im_sdkUserSendMsgReq; +@class Open_im_sdkUserSendMsgResp; +@class Open_im_sdkVideoBaseInfo; +@class Open_im_sdkWsMsgData; +@class Open_im_sdkWsSendMsgResp; +@class Open_im_sdkWsSubMsg; +@protocol Open_im_sdkBase; +@class Open_im_sdkBase; +@protocol Open_im_sdkIMSDKListener; +@class Open_im_sdkIMSDKListener; +@protocol Open_im_sdkOnAdvancedMsgListener; +@class Open_im_sdkOnAdvancedMsgListener; +@protocol Open_im_sdkOnConversationListener; +@class Open_im_sdkOnConversationListener; +@protocol Open_im_sdkOnFriendshipListener; +@class Open_im_sdkOnFriendshipListener; +@protocol Open_im_sdkOnGroupListener; +@class Open_im_sdkOnGroupListener; +@protocol Open_im_sdkSendMsgCallBack; +@class Open_im_sdkSendMsgCallBack; + +@protocol Open_im_sdkBase +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@protocol Open_im_sdkIMSDKListener +- (void)onConnectFailed:(long)ErrCode ErrMsg:(NSString* _Nullable)ErrMsg; +- (void)onConnectSuccess; +- (void)onConnecting; +- (void)onKickedOffline; +- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; +- (void)onUserTokenExpired; +@end + +@protocol Open_im_sdkOnAdvancedMsgListener +- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; +- (void)onRecvMessageRevoked:(NSString* _Nullable)msgId; +- (void)onRecvNewMessage:(NSString* _Nullable)message; +@end + +@protocol Open_im_sdkOnConversationListener +- (void)onConversationChanged:(NSString* _Nullable)conversationList; +- (void)onNewConversation:(NSString* _Nullable)conversationList; +- (void)onSyncServerFailed; +- (void)onSyncServerFinish; +- (void)onSyncServerStart; +- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; +@end + +@protocol Open_im_sdkOnFriendshipListener +- (void)onBlackListAdd:(NSString* _Nullable)userInfo; +- (void)onBlackListDeleted:(NSString* _Nullable)userInfo; +- (void)onFriendApplicationListAccept:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListAdded:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListDeleted:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListReject:(NSString* _Nullable)applyUserInfo; +- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; +- (void)onFriendListAdded:(NSString* _Nullable)friendInfo; +- (void)onFriendListDeleted:(NSString* _Nullable)friendInfo; +@end + +@protocol Open_im_sdkOnGroupListener +- (void)onApplicationProcessed:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser AgreeOrReject:(int32_t)AgreeOrReject opReason:(NSString* _Nullable)opReason; +- (void)onGroupCreated:(NSString* _Nullable)groupId; +- (void)onGroupInfoChanged:(NSString* _Nullable)groupId groupInfo:(NSString* _Nullable)groupInfo; +- (void)onMemberEnter:(NSString* _Nullable)groupId memberList:(NSString* _Nullable)memberList; +- (void)onMemberInvited:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberKicked:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberLeave:(NSString* _Nullable)groupId member:(NSString* _Nullable)member; +- (void)onReceiveJoinApplication:(NSString* _Nullable)groupId member:(NSString* _Nullable)member opReason:(NSString* _Nullable)opReason; +@end + +@protocol Open_im_sdkSendMsgCallBack +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onProgress:(long)progress; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@interface Open_im_sdkAgreeOrRejectGroupMember : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull groupId; +@property (nonatomic) NSString* _Nonnull userId; +@property (nonatomic) long role; +// skipped field AgreeOrRejectGroupMember.JoinTime with unsupported type: uint64 + +@property (nonatomic) NSString* _Nonnull nickName; +@property (nonatomic) NSString* _Nonnull faceUrl; +@property (nonatomic) NSString* _Nonnull reason; +@end + +@interface Open_im_sdkArrMsg : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field ArrMsg.SingleData with unsupported type: []open_im_sdk/open_im_sdk.MsgData + +// skipped field ArrMsg.GroupData with unsupported type: []open_im_sdk/open_im_sdk.MsgData + +@end + +@interface Open_im_sdkChatLog : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull msgId; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) int32_t isRead; +@property (nonatomic) int64_t seq; +@property (nonatomic) int32_t status; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) NSString* _Nonnull content; +// skipped field ChatLog.Remark with unsupported type: database/sql.NullString + +@property (nonatomic) int32_t senderPlatformID; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int64_t createTime; +@end + +@interface Open_im_sdkConversationListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) id _Nullable conversationListenerx; +// skipped field ConversationListener.MsgListenerList with unsupported type: []open_im_sdk/open_im_sdk.OnAdvancedMsgListener + +@end + +@interface Open_im_sdkConversationStruct : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull conversationID; +@property (nonatomic) long conversationType; +@property (nonatomic) NSString* _Nonnull userID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull showName; +@property (nonatomic) NSString* _Nonnull faceURL; +@property (nonatomic) long recvMsgOpt; +@property (nonatomic) long unreadCount; +@property (nonatomic) NSString* _Nonnull latestMsg; +@property (nonatomic) int64_t latestMsgSendTime; +@property (nonatomic) NSString* _Nonnull draftText; +@property (nonatomic) int64_t draftTimestamp; +@property (nonatomic) long isPinned; +@end + +@interface Open_im_sdkFileBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull filePath; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) NSString* _Nonnull fileName; +@property (nonatomic) int64_t fileSize; +@end + +@interface Open_im_sdkFriend : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@end + +@interface Open_im_sdkGatherFormat : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +/** + * @inject_tag: json:"id" + */ +@property (nonatomic) NSString* _Nonnull id_; +// skipped field GatherFormat.List with unsupported type: []*open_im_sdk/open_im_sdk.MsgFormat + +// skipped field GatherFormat.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GatherFormat.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GatherFormat.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGeneralWsReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t reqIdentifier; +@property (nonatomic) NSString* _Nonnull token; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSString* _Nonnull msgIncr; +@property (nonatomic) NSData* _Nullable data; +@end + +@interface Open_im_sdkGeneralWsResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long reqIdentifier; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) NSString* _Nonnull msgIncr; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSData* _Nullable data; +@end + +@interface Open_im_sdkGetMaxAndMinSeqReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field GetMaxAndMinSeqReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GetMaxAndMinSeqReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GetMaxAndMinSeqReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGetMaxAndMinSeqResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t maxSeq; +@property (nonatomic) int64_t minSeq; +// skipped field GetMaxAndMinSeqResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GetMaxAndMinSeqResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GetMaxAndMinSeqResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGroupApplicationInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field GroupApplicationInfo.Info with unsupported type: open_im_sdk/open_im_sdk.accessOrRefuseGroupApplicationReq + +@property (nonatomic) NSString* _Nonnull handUserID; +@property (nonatomic) NSString* _Nonnull handUserName; +@property (nonatomic) NSString* _Nonnull handUserIcon; +@end + +@interface Open_im_sdkGroupApplicationResponseReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSString* _Nonnull ownerID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull fromUserID; +@property (nonatomic) NSString* _Nonnull fromUserNickName; +@property (nonatomic) NSString* _Nonnull fromUserFaceUrl; +@property (nonatomic) NSString* _Nonnull toUserID; +@property (nonatomic) NSString* _Nonnull toUserNickName; +@property (nonatomic) NSString* _Nonnull toUserFaceUrl; +@property (nonatomic) int64_t addTime; +@property (nonatomic) NSString* _Nonnull requestMsg; +@property (nonatomic) NSString* _Nonnull handledMsg; +@property (nonatomic) int32_t type; +@property (nonatomic) int32_t handleStatus; +@property (nonatomic) int32_t handleResult; +@end + +@interface Open_im_sdkGroupReqListInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull id_; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull fromUserID; +@property (nonatomic) NSString* _Nonnull toUserID; +@property (nonatomic) int32_t flag; +@property (nonatomic) NSString* _Nonnull requestMsg; +@property (nonatomic) NSString* _Nonnull handledMsg; +@property (nonatomic) int64_t addTime; +@property (nonatomic) NSString* _Nonnull fromUserNickname; +@property (nonatomic) NSString* _Nonnull toUserNickname; +@property (nonatomic) NSString* _Nonnull fromUserFaceUrl; +@property (nonatomic) NSString* _Nonnull toUserFaceUrl; +@property (nonatomic) NSString* _Nonnull handledUser; +@property (nonatomic) int32_t type; +@property (nonatomic) int32_t handleStatus; +@property (nonatomic) int32_t handleResult; +- (NSString* _Nonnull)key; +// skipped method GroupReqListInfo.Value with unsupported parameter or return types + +@end + +@interface Open_im_sdkIMConfig : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t platform; +@property (nonatomic) NSString* _Nonnull ipApiAddr; +@property (nonatomic) NSString* _Nonnull ipWsAddr; +@property (nonatomic) NSString* _Nonnull dbDir; +@end + +@interface Open_im_sdkIMManager : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long loginState; +@end + +@interface Open_im_sdkLogInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull info; +@end + +@interface Open_im_sdkMessageReceipt : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull userID; +// skipped field MessageReceipt.MsgIdList with unsupported type: []string + +@property (nonatomic) int64_t readTime; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t sessionType; +@end + +@interface Open_im_sdkMsgData : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int64_t seq; +@property (nonatomic) int32_t senderPlatformID; +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field MsgData.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method MsgData.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method MsgData.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkMsgFormat : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +/** + * @inject_tag: json:"sendID" + */ +@property (nonatomic) NSString* _Nonnull sendID; +/** + * @inject_tag: json:"recvID" + */ +@property (nonatomic) NSString* _Nonnull recvID; +/** + * @inject_tag: json:"msgFrom" + */ +@property (nonatomic) int32_t msgFrom; +/** + * @inject_tag: json:"contentType" + */ +@property (nonatomic) int32_t contentType; +/** + * @inject_tag: json:"serverMsgID" + */ +@property (nonatomic) NSString* _Nonnull serverMsgID; +/** + * @inject_tag: json:"content" + */ +@property (nonatomic) NSString* _Nonnull content; +/** + * @inject_tag: json:"seq" + */ +@property (nonatomic) int64_t seq; +/** + * @inject_tag: json:"sendTime" + */ +@property (nonatomic) int64_t sendTime; +/** + * @inject_tag: json:"senderPlatformID" + */ +@property (nonatomic) int32_t senderPlatformID; +/** + * @inject_tag: json:"senderNickName" + */ +@property (nonatomic) NSString* _Nonnull senderNickName; +/** + * @inject_tag: json:"senderFaceUrl" + */ +@property (nonatomic) NSString* _Nonnull senderFaceURL; +/** + * @inject_tag: json:"clientMsgID" + */ +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field MsgFormat.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method MsgFormat.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method MsgFormat.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkMsgStruct : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) int64_t createTime; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t platformID; +// skipped field MsgStruct.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) int64_t seq; +@property (nonatomic) BOOL isRead; +@property (nonatomic) int32_t status; +@property (nonatomic) NSString* _Nonnull remark; +// skipped field MsgStruct.PictureElem with unsupported type: struct{SourcePath string "json:\"sourcePath\""; SourcePicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"sourcePicture\""; BigPicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"bigPicture\""; SnapshotPicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"snapshotPicture\""} + +// skipped field MsgStruct.SoundElem with unsupported type: struct{UUID string "json:\"uuid\""; SoundPath string "json:\"soundPath\""; SourceURL string "json:\"sourceUrl\""; DataSize int64 "json:\"dataSize\""; Duration int64 "json:\"duration\""} + +// skipped field MsgStruct.VideoElem with unsupported type: struct{VideoPath string "json:\"videoPath\""; VideoUUID string "json:\"videoUUID\""; VideoURL string "json:\"videoUrl\""; VideoType string "json:\"videoType\""; VideoSize int64 "json:\"videoSize\""; Duration int64 "json:\"duration\""; SnapshotPath string "json:\"snapshotPath\""; SnapshotUUID string "json:\"snapshotUUID\""; SnapshotSize int64 "json:\"snapshotSize\""; SnapshotURL string "json:\"snapshotUrl\""; SnapshotWidth int32 "json:\"snapshotWidth\""; SnapshotHeight int32 "json:\"snapshotHeight\""} + +// skipped field MsgStruct.FileElem with unsupported type: struct{FilePath string "json:\"filePath\""; UUID string "json:\"uuid\""; SourceURL string "json:\"sourceUrl\""; FileName string "json:\"fileName\""; FileSize int64 "json:\"fileSize\""} + +// skipped field MsgStruct.MergeElem with unsupported type: struct{Title string "json:\"title\""; AbstractList []string "json:\"abstractList\""; MultiMessage []*open_im_sdk/open_im_sdk.MsgStruct "json:\"multiMessage\""} + +// skipped field MsgStruct.AtElem with unsupported type: struct{Text string "json:\"text\""; AtUserList []string "json:\"atUserList\""; IsAtSelf bool "json:\"isAtSelf\""} + +// skipped field MsgStruct.LocationElem with unsupported type: struct{Description string "json:\"description\""; Longitude float64 "json:\"longitude\""; Latitude float64 "json:\"latitude\""} + +// skipped field MsgStruct.CustomElem with unsupported type: struct{Data string "json:\"data\""; Description string "json:\"description\""; Extension string "json:\"extension\""} + +// skipped field MsgStruct.QuoteElem with unsupported type: struct{Text string "json:\"text\""; QuoteMessage *open_im_sdk/open_im_sdk.MsgStruct "json:\"quoteMessage\""} + +@end + +@interface Open_im_sdkNotificationContent : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t isDisplay; +@property (nonatomic) NSString* _Nonnull defaultTips; +@property (nonatomic) NSString* _Nonnull detail; +@end + +@interface Open_im_sdkPictureBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull type; +@property (nonatomic) int64_t size; +@property (nonatomic) int32_t width; +@property (nonatomic) int32_t height; +@property (nonatomic) NSString* _Nonnull url; +@end + +@interface Open_im_sdkPullMessageBySeqListReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field PullMessageBySeqListReq.SeqList with unsupported type: []int64 + +// skipped field PullMessageBySeqListReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method PullMessageBySeqListReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method PullMessageBySeqListReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkPullMessageBySeqListResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t maxSeq; +@property (nonatomic) int64_t minSeq; +// skipped field PullMessageBySeqListResp.SingleUserMsg with unsupported type: []*open_im_sdk/open_im_sdk.GatherFormat + +// skipped field PullMessageBySeqListResp.GroupUserMsg with unsupported type: []*open_im_sdk/open_im_sdk.GatherFormat + +// skipped field PullMessageBySeqListResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method PullMessageBySeqListResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method PullMessageBySeqListResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkPullMsgReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull userID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) Open_im_sdkMsgStruct* _Nullable startMsg; +@property (nonatomic) long count; +@end + +@interface Open_im_sdkPullUserMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) long reqIdentifier; +@property (nonatomic) long msgIncr; +// skipped field PullUserMsgResp.Data with unsupported type: open_im_sdk/open_im_sdk.paramsPullUserMsgDataResp + +@end + +@interface Open_im_sdkSendMsgRespFromServer : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) long reqIdentifier; +// skipped field SendMsgRespFromServer.Data with unsupported type: struct{ServerMsgID string "json:\"serverMsgID\""; ClientMsgID string "json:\"clientMsgID\""; SendTime int64 "json:\"sendTime\""} + +@end + +@interface Open_im_sdkSliceMock : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@end + +@interface Open_im_sdkSoundBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull soundPath; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) int64_t dataSize; +@property (nonatomic) int64_t duration; +@end + +@interface Open_im_sdkSoundElem : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull soundPath; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) int64_t dataSize; +@property (nonatomic) int64_t duration; +@end + +@interface Open_im_sdkTransferGroupOwnerReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull oldOwner; +@property (nonatomic) NSString* _Nonnull newOwner; +@property (nonatomic) NSString* _Nonnull operationID; +@end + +@interface Open_im_sdkUid2Flag : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uid; +@property (nonatomic) int32_t flag; +@end + +@interface Open_im_sdkUserRelated : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field UserRelated.ConversationCh with unsupported type: chan open_im_sdk/open_im_sdk.cmd2Value + +// skipped field UserRelated.SvrConf with unsupported type: open_im_sdk/open_im_sdk.IMConfig + +@property (nonatomic) NSString* _Nonnull loginUid; +// skipped field UserRelated.IMManager with unsupported type: open_im_sdk/open_im_sdk.IMManager + +// skipped field UserRelated.Friend with unsupported type: open_im_sdk/open_im_sdk.Friend + +// skipped field UserRelated.ConversationListener with unsupported type: open_im_sdk/open_im_sdk.ConversationListener + +- (void)acceptFriendApplication:(id _Nullable)callback uid:(NSString* _Nullable)uid; +- (void)acceptGroupApplication:(NSString* _Nullable)application reason:(NSString* _Nullable)reason callback:(id _Nullable)callback; +- (void)addAdvancedMsgListener:(id _Nullable)listener; +// skipped method UserRelated.AddCh with unsupported parameter or return types + +- (void)addFriend:(id _Nullable)callback paramsReq:(NSString* _Nullable)paramsReq; +- (void)addToBlackList:(id _Nullable)callback blackUid:(NSString* _Nullable)blackUid; +- (void)checkFriend:(id _Nullable)callback uidList:(NSString* _Nullable)uidList; +- (NSString* _Nonnull)createCardMessage:(NSString* _Nullable)cardInfo; +- (NSString* _Nonnull)createCustomMessage:(NSString* _Nullable)data extension:(NSString* _Nullable)extension description:(NSString* _Nullable)description; +- (NSString* _Nonnull)createFileMessage:(NSString* _Nullable)filePath fileName:(NSString* _Nullable)fileName; +- (NSString* _Nonnull)createFileMessageByURL:(NSString* _Nullable)fileBaseInfo; +- (NSString* _Nonnull)createFileMessageFromFullPath:(NSString* _Nullable)fileFullPath fileName:(NSString* _Nullable)fileName; +- (NSString* _Nonnull)createForwardMessage:(NSString* _Nullable)m; +- (void)createGroup:(NSString* _Nullable)gInfo memberList:(NSString* _Nullable)memberList callback:(id _Nullable)callback; +- (NSString* _Nonnull)createImageMessage:(NSString* _Nullable)imagePath; +- (NSString* _Nonnull)createImageMessageByURL:(NSString* _Nullable)sourcePicture bigPicture:(NSString* _Nullable)bigPicture snapshotPicture:(NSString* _Nullable)snapshotPicture; +- (NSString* _Nonnull)createImageMessageFromFullPath:(NSString* _Nullable)imageFullPath; +- (NSString* _Nonnull)createLocationMessage:(NSString* _Nullable)description longitude:(double)longitude latitude:(double)latitude; +- (NSString* _Nonnull)createMergerMessage:(NSString* _Nullable)messageList title:(NSString* _Nullable)title summaryList:(NSString* _Nullable)summaryList; +- (NSString* _Nonnull)createQuoteMessage:(NSString* _Nullable)text message:(NSString* _Nullable)message; +- (NSString* _Nonnull)createSoundMessage:(NSString* _Nullable)soundPath duration:(int64_t)duration; +- (NSString* _Nonnull)createSoundMessageByURL:(NSString* _Nullable)soundBaseInfo; +- (NSString* _Nonnull)createSoundMessageFromFullPath:(NSString* _Nullable)soundPath duration:(int64_t)duration; +- (NSString* _Nonnull)createTextAtMessage:(NSString* _Nullable)text atUserList:(NSString* _Nullable)atUserList; +- (NSString* _Nonnull)createTextMessage:(NSString* _Nullable)text; +- (NSString* _Nonnull)createVideoMessage:(NSString* _Nullable)videoPath videoType:(NSString* _Nullable)videoType duration:(int64_t)duration snapshotPath:(NSString* _Nullable)snapshotPath; +- (NSString* _Nonnull)createVideoMessageByURL:(NSString* _Nullable)videoBaseInfo; +- (NSString* _Nonnull)createVideoMessageFromFullPath:(NSString* _Nullable)videoFullPath videoType:(NSString* _Nullable)videoType duration:(int64_t)duration snapshotFullPath:(NSString* _Nullable)snapshotFullPath; +- (void)delCh:(NSString* _Nullable)msgIncr; +- (void)deleteConversation:(NSString* _Nullable)conversationID callback:(id _Nullable)callback; +- (void)deleteFromBlackList:(id _Nullable)callback deleteUid:(NSString* _Nullable)deleteUid; +- (void)deleteFromFriendList:(NSString* _Nullable)deleteUid callback:(id _Nullable)callback; +- (void)deleteMessageFromLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message; +- (void)findMessages:(id _Nullable)callback messageIDList:(NSString* _Nullable)messageIDList; +- (void)forceReConn; +- (void)forceSyncApplyGroupRequest; +- (void)forceSyncBlackList; +- (void)forceSyncFriend; +- (void)forceSyncFriendApplication; +- (void)forceSyncGroupRequest; +- (void)forceSyncJoinedGroup; +- (void)forceSyncJoinedGroupMember; +- (void)forceSyncLoginUserInfo; +- (BOOL)forceSyncMsg; +- (NSString* _Nonnull)genMsgIncr; +- (void)getAllConversationList:(id _Nullable)callback; +- (void)getBlackList:(id _Nullable)callback; +// skipped method UserRelated.GetCh with unsupported parameter or return types + +- (void)getFriendApplicationList:(id _Nullable)callback; +- (void)getFriendList:(id _Nullable)callback; +- (void)getFriendsInfo:(id _Nullable)callback uidList:(NSString* _Nullable)uidList; +- (void)getGroupApplicationList:(id _Nullable)callback; +- (void)getGroupMemberList:(NSString* _Nullable)groupId filter:(int32_t)filter next:(int32_t)next callback:(id _Nullable)callback; +- (void)getGroupMembersInfo:(NSString* _Nullable)groupId userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)getGroupsInfo:(NSString* _Nullable)groupIdList callback:(id _Nullable)callback; +- (void)getHistoryMessageList:(id _Nullable)callback getMessageOptions:(NSString* _Nullable)getMessageOptions; +- (void)getJoinedGroupList:(id _Nullable)callback; +- (long)getLoginStatus; +- (NSString* _Nonnull)getLoginUser; +- (int64_t)getMinSeqSvr; +- (void)getMultipleConversation:(NSString* _Nullable)conversationIDList callback:(id _Nullable)callback; +- (void)getOneConversation:(NSString* _Nullable)sourceID sessionType:(long)sessionType callback:(id _Nullable)callback; +- (void)getTotalUnreadMsgCount:(id _Nullable)callback; +- (void)getUsersInfo:(NSString* _Nullable)uIDList cb:(id _Nullable)cb; +// skipped method UserRelated.GroupApplicationProcessedCallback with unsupported parameter or return types + +- (BOOL)initSDK:(NSString* _Nullable)config cb:(id _Nullable)cb; +- (NSString* _Nonnull)insertGroupMessageToLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message groupID:(NSString* _Nullable)groupID sender:(NSString* _Nullable)sender; +- (NSString* _Nonnull)insertSingleMessageToLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message userID:(NSString* _Nullable)userID sender:(NSString* _Nullable)sender; +- (void)inviteUserToGroup:(NSString* _Nullable)groupId reason:(NSString* _Nullable)reason userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)joinGroup:(NSString* _Nullable)groupId message:(NSString* _Nullable)message callback:(id _Nullable)callback; +- (void)kickGroupMember:(NSString* _Nullable)groupId reason:(NSString* _Nullable)reason userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)login:(NSString* _Nullable)uid tk:(NSString* _Nullable)tk callback:(id _Nullable)callback; +- (void)logout:(id _Nullable)callback; +- (void)markC2CMessageAsRead:(id _Nullable)callback receiver:(NSString* _Nullable)receiver msgIDList:(NSString* _Nullable)msgIDList; +- (void)markGroupMessageHasRead:(id _Nullable)callback groupID:(NSString* _Nullable)groupID; +- (void)markSingleMessageHasRead:(id _Nullable)callback userID:(NSString* _Nullable)userID; +// skipped method UserRelated.OnMemberInvited with unsupported parameter or return types + +// skipped method UserRelated.OnMemberKicked with unsupported parameter or return types + +- (void)pinConversation:(NSString* _Nullable)conversationID isPinned:(BOOL)isPinned callback:(id _Nullable)callback; +// skipped method UserRelated.Prepare with unsupported parameter or return types + +// skipped method UserRelated.Query with unsupported parameter or return types + +- (void)quitGroup:(NSString* _Nullable)groupId callback:(id _Nullable)callback; +- (void)refuseFriendApplication:(id _Nullable)callback uid:(NSString* _Nullable)uid; +- (void)refuseGroupApplication:(NSString* _Nullable)application reason:(NSString* _Nullable)reason callback:(id _Nullable)callback; +- (BOOL)resetConversation:(NSString* _Nullable)conversationID error:(NSError* _Nullable* _Nullable)error; +- (void)revokeMessage:(id _Nullable)callback message:(NSString* _Nullable)message; +- (NSString* _Nonnull)sendMessage:(id _Nullable)callback message:(NSString* _Nullable)message receiver:(NSString* _Nullable)receiver groupID:(NSString* _Nullable)groupID onlineUserOnly:(BOOL)onlineUserOnly; +- (NSString* _Nonnull)sendMessageNotOss:(id _Nullable)callback message:(NSString* _Nullable)message receiver:(NSString* _Nullable)receiver groupID:(NSString* _Nullable)groupID onlineUserOnly:(BOOL)onlineUserOnly; +- (void)setConversationDraft:(NSString* _Nullable)conversationID draftText:(NSString* _Nullable)draftText callback:(id _Nullable)callback; +- (void)setConversationListener:(id _Nullable)listener; +- (void)setFriendInfo:(NSString* _Nullable)comment callback:(id _Nullable)callback; +- (BOOL)setFriendListener:(id _Nullable)listener; +- (void)setGroupInfo:(NSString* _Nullable)jsonGroupInfo callback:(id _Nullable)callback; +- (void)setGroupListener:(id _Nullable)callback; +- (void)setMinSeqSvr:(int64_t)minSeqSvr; +- (void)setSelfInfo:(NSString* _Nullable)info cb:(id _Nullable)cb; +- (void)transferGroupOwner:(NSString* _Nullable)groupId userId:(NSString* _Nullable)userId callback:(id _Nullable)callback; +- (void)typingStatusUpdate:(NSString* _Nullable)receiver msgTip:(NSString* _Nullable)msgTip; +- (void)unInitSDK; +// skipped method UserRelated.WriteMsg with unsupported parameter or return types + +@end + +@interface Open_im_sdkUserSendMsgReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field UserSendMsgReq.Options with unsupported type: map[string]int32 + +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) int32_t platformID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull recvID; +// skipped field UserSendMsgReq.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field UserSendMsgReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method UserSendMsgReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method UserSendMsgReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkUserSendMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) int64_t sendTime; +// skipped field UserSendMsgResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method UserSendMsgResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method UserSendMsgResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkVideoBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull videoPath; +@property (nonatomic) NSString* _Nonnull videoUUID; +@property (nonatomic) NSString* _Nonnull videoURL; +@property (nonatomic) NSString* _Nonnull videoType; +@property (nonatomic) int64_t videoSize; +@property (nonatomic) int64_t duration; +@property (nonatomic) NSString* _Nonnull snapshotPath; +@property (nonatomic) NSString* _Nonnull snapshotUUID; +@property (nonatomic) int64_t snapshotSize; +@property (nonatomic) NSString* _Nonnull snapshotURL; +@property (nonatomic) int32_t snapshotWidth; +@property (nonatomic) int32_t snapshotHeight; +@end + +@interface Open_im_sdkWsMsgData : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t platformID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull recvID; +// skipped field WsMsgData.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull content; +// skipped field WsMsgData.Options with unsupported type: map[string]interface{} + +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field WsMsgData.OfflineInfo with unsupported type: map[string]interface{} + +// skipped field WsMsgData.Ext with unsupported type: map[string]interface{} + +@end + +@interface Open_im_sdkWsSendMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) int64_t sendTime; +@end + +@interface Open_im_sdkWsSubMsg : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@end + +FOUNDATION_EXPORT const int64_t Open_im_sdkAcceptFriendApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAcceptGroupApplicationTip; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkAcceptGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAddConOrUpLatMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkAddFriendTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAtText; +FOUNDATION_EXPORT const int64_t Open_im_sdkCard; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdAcceptFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdAddFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdBlackList; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdDeleteConversation; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncFriendApplication; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncLoginUerInfo; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncMsg; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFriendApplication; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFroceSyncBlackList; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdGeyLoginUserInfo; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdNewMsgCome; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdReLogin; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdRefuseFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdUnInit; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdUpdateConversation; +FOUNDATION_EXPORT const int64_t Open_im_sdkConAndUnreadChange; +FOUNDATION_EXPORT const int64_t Open_im_sdkConChange; +FOUNDATION_EXPORT const int64_t Open_im_sdkCreateGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkCustom; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkDeFaultSuccessMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeConversation; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeFriend; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeInitLogin; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeUserInfo; +FOUNDATION_EXPORT const int64_t Open_im_sdkFile; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkFriendAcceptTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionAcceptGroupApplication; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionApplyJoinGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionCreateGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionInviteUserToGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionKickGroupMember; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionQuitGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionRefuseGroupApplication; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionSetGroupInfo; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionTransferGroupOwner; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupChatType; +/** + * /////////////////////////////////////// + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupTipBegin; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupTipEnd; +FOUNDATION_EXPORT const int64_t Open_im_sdkHasRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkHasReadReceipt; +FOUNDATION_EXPORT const int64_t Open_im_sdkIncrUnread; +FOUNDATION_EXPORT const int64_t Open_im_sdkInviteUserToGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkJoinGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkKickGroupMemberTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkKickOnlineTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkLocation; +FOUNDATION_EXPORT const int64_t Open_im_sdkLoginFailed; +FOUNDATION_EXPORT const int64_t Open_im_sdkLoginSuccess; +FOUNDATION_EXPORT const int64_t Open_im_sdkLogining; +FOUNDATION_EXPORT const int64_t Open_im_sdkLogoutCmd; +FOUNDATION_EXPORT const int64_t Open_im_sdkMaxTotalMsgLen; +FOUNDATION_EXPORT const int64_t Open_im_sdkMerger; +FOUNDATION_EXPORT const int64_t Open_im_sdkMessageHasNotRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkMessageHasRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusHasDeleted; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusRevoked; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSendFailed; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSendSuccess; +/** + * MsgStatus + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSending; +FOUNDATION_EXPORT const int64_t Open_im_sdkNotRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkPicture; +FOUNDATION_EXPORT const int64_t Open_im_sdkQuitGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkQuote; +FOUNDATION_EXPORT const int64_t Open_im_sdkRefuseFriendApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkRefuseGroupApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkRevoke; +FOUNDATION_EXPORT const int64_t Open_im_sdkSetGroupInfoTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkSetSelfInfoTip; +/** + * /////////////////////////////////// +SessionType + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleChatType; +/** + * //////////////////////////////////////// + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleTipBegin; +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleTipEnd; +FOUNDATION_EXPORT const int64_t Open_im_sdkSound; +FOUNDATION_EXPORT const int64_t Open_im_sdkSysMsgType; +/** + * ContentType + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkText; +FOUNDATION_EXPORT const int64_t Open_im_sdkTimeOffset; +FOUNDATION_EXPORT const int64_t Open_im_sdkTotalUnreadMessageChanged; +FOUNDATION_EXPORT const int64_t Open_im_sdkTransferGroupOwnerTip; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkTransferGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkTyping; +FOUNDATION_EXPORT const int64_t Open_im_sdkUnreadCountSetZero; +FOUNDATION_EXPORT const int64_t Open_im_sdkUpdateFaceUrlAndNickName; +/** + * ////////////////////////////////////// +MsgFrom + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkUserMsgType; +FOUNDATION_EXPORT const int64_t Open_im_sdkVideo; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSDataError; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSGetNewestSeq; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPullMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPullMsgBySeqList; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPushMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSSendMsg; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkZoomScale; + +@interface Open_im_sdk : NSObject ++ (int32_t) sdkLogFlag; ++ (void) setSdkLogFlag:(int32_t)v; + +// skipped variable SvrConf with unsupported type: open_im_sdk/open_im_sdk.IMConfig + +// skipped variable UserRouterMap with unsupported type: map[string]*open_im_sdk/open_im_sdk.UserRelated + +// skipped variable UserSDKRwLock with unsupported type: sync.RWMutex + +@end + +FOUNDATION_EXPORT void Open_im_sdkAcceptFriendApplication(id _Nullable callback, NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkAcceptGroupApplication(NSString* _Nullable application, NSString* _Nullable reason, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkAddAdvancedMsgListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkAddFriend(id _Nullable callback, NSString* _Nullable paramsReq); + +FOUNDATION_EXPORT void Open_im_sdkAddToBlackList(id _Nullable callback, NSString* _Nullable blackUid); + +FOUNDATION_EXPORT void Open_im_sdkCheckFriend(id _Nullable callback, NSString* _Nullable uidList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCardMessage(NSString* _Nullable cardInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCustomMessage(NSString* _Nullable data, NSString* _Nullable extension, NSString* _Nullable description); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessage(NSString* _Nullable filePath, NSString* _Nullable fileName); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageByURL(NSString* _Nullable fileBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageFromFullPath(NSString* _Nullable fileFullPath, NSString* _Nullable fileName); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateForwardMessage(NSString* _Nullable m); + +FOUNDATION_EXPORT void Open_im_sdkCreateGroup(NSString* _Nullable gInfo, NSString* _Nullable memberList, id _Nullable callback); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessage(NSString* _Nullable imagePath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageByURL(NSString* _Nullable sourcePicture, NSString* _Nullable bigPicture, NSString* _Nullable snapshotPicture); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageFromFullPath(NSString* _Nullable imageFullPath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateLocationMessage(NSString* _Nullable description, double longitude, double latitude); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateMergerMessage(NSString* _Nullable messageList, NSString* _Nullable title, NSString* _Nullable summaryList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateQuoteMessage(NSString* _Nullable text, NSString* _Nullable message); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessage(NSString* _Nullable soundPath, int64_t duration); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageByURL(NSString* _Nullable soundBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageFromFullPath(NSString* _Nullable soundPath, int64_t duration); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextAtMessage(NSString* _Nullable text, NSString* _Nullable atUserList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextMessage(NSString* _Nullable text); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessage(NSString* _Nullable videoPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotPath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageByURL(NSString* _Nullable videoBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageFromFullPath(NSString* _Nullable videoFullPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotFullPath); + +FOUNDATION_EXPORT void Open_im_sdkDeleteConversation(NSString* _Nullable conversationID, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkDeleteFromBlackList(id _Nullable callback, NSString* _Nullable deleteUid); + +FOUNDATION_EXPORT void Open_im_sdkDeleteFromFriendList(NSString* _Nullable deleteUid, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkDeleteMessageFromLocalStorage(id _Nullable callback, NSString* _Nullable message); + +FOUNDATION_EXPORT void Open_im_sdkFindMessages(id _Nullable callback, NSString* _Nullable messageIDList); + +FOUNDATION_EXPORT void Open_im_sdkForceSyncLoginUerInfo(void); + +FOUNDATION_EXPORT BOOL Open_im_sdkForceSyncMsg(void); + +FOUNDATION_EXPORT void Open_im_sdkGetAllConversationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetBlackList(id _Nullable callback); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetConversationIDBySessionType(NSString* _Nullable sourceID, long sessionType); + +/** + * Get the current timestamp by Mill + */ +FOUNDATION_EXPORT int64_t Open_im_sdkGetCurrentTimestampByMill(void); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendApplicationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendsInfo(id _Nullable callback, NSString* _Nullable uidList); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupApplicationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupMemberList(NSString* _Nullable groupId, int32_t filter, int32_t next, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupMembersInfo(NSString* _Nullable groupId, NSString* _Nullable userList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupsInfo(NSString* _Nullable groupIdList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetHistoryMessageList(id _Nullable callback, NSString* _Nullable getMessageOptions); + +FOUNDATION_EXPORT void Open_im_sdkGetJoinedGroupList(id _Nullable callback); + +FOUNDATION_EXPORT long Open_im_sdkGetLoginStatus(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetLoginUser(void); + +FOUNDATION_EXPORT void Open_im_sdkGetMultipleConversation(NSString* _Nullable conversationIDList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetOneConversation(NSString* _Nullable sourceID, long sessionType, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetTotalUnreadMsgCount(id _Nullable callback); + +FOUNDATION_EXPORT Open_im_sdkUserRelated* _Nullable Open_im_sdkGetUserWorker(NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkGetUsersInfo(NSString* _Nullable uIDList, id _Nullable cb); + +FOUNDATION_EXPORT BOOL Open_im_sdkInitOnce(Open_im_sdkIMConfig* _Nullable config); + +FOUNDATION_EXPORT BOOL Open_im_sdkInitSDK(NSString* _Nullable config, id _Nullable cb); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkInsertSingleMessageToLocalStorage(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable userID, NSString* _Nullable sender); + +FOUNDATION_EXPORT void Open_im_sdkInviteUserToGroup(NSString* _Nullable groupId, NSString* _Nullable reason, NSString* _Nullable userList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkJoinGroup(NSString* _Nullable groupId, NSString* _Nullable message, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkKickGroupMember(NSString* _Nullable groupId, NSString* _Nullable reason, NSString* _Nullable userList, id _Nullable callback); + +// skipped function LogBegin with unsupported parameter or return types + + +// skipped function LogEnd with unsupported parameter or return types + + +// skipped function LogFReturn with unsupported parameter or return types + + +// skipped function LogSReturn with unsupported parameter or return types + + +// skipped function LogStart with unsupported parameter or return types + + +FOUNDATION_EXPORT void Open_im_sdkLogin(NSString* _Nullable uid, NSString* _Nullable tk, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkLogout(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkMarkC2CMessageAsRead(id _Nullable callback, NSString* _Nullable receiver, NSString* _Nullable msgIDList); + +FOUNDATION_EXPORT void Open_im_sdkMarkGroupMessageHasRead(id _Nullable callback, NSString* _Nullable groupID); + +FOUNDATION_EXPORT void Open_im_sdkMarkSingleMessageHasRead(id _Nullable callback, NSString* _Nullable userID); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkMd5(NSString* _Nullable s); + +FOUNDATION_EXPORT void Open_im_sdkPinConversation(NSString* _Nullable conversationID, BOOL isPinned, id _Nullable callback); + +// skipped function Post2Api with unsupported parameter or return types + + +FOUNDATION_EXPORT void Open_im_sdkQuitGroup(NSString* _Nullable groupId, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkRefuseFriendApplication(id _Nullable callback, NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkRefuseGroupApplication(NSString* _Nullable application, NSString* _Nullable reason, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkRevokeMessage(id _Nullable callback, NSString* _Nullable message); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkRunFuncName(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSdkVersion(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSendMessage(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable receiver, NSString* _Nullable groupID, BOOL onlineUserOnly); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSendMessageNotOss(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable receiver, NSString* _Nullable groupID, BOOL onlineUserOnly); + +FOUNDATION_EXPORT void Open_im_sdkSetConversationDraft(NSString* _Nullable conversationID, NSString* _Nullable draftText, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkSetConversationListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkSetFriendInfo(NSString* _Nullable comment, id _Nullable callback); + +FOUNDATION_EXPORT BOOL Open_im_sdkSetFriendListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkSetGroupInfo(NSString* _Nullable jsonGroupInfo, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkSetGroupListener(id _Nullable callback); + +/** + * 1 no print + */ +FOUNDATION_EXPORT void Open_im_sdkSetSdkLog(int32_t flag); + +FOUNDATION_EXPORT void Open_im_sdkSetSelfInfo(NSString* _Nullable info, id _Nullable cb); + +FOUNDATION_EXPORT int64_t Open_im_sdkStringToInt64(NSString* _Nullable i); + +FOUNDATION_EXPORT void Open_im_sdkTransferGroupOwner(NSString* _Nullable groupId, NSString* _Nullable userId, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkTypingStatusUpdate(NSString* _Nullable receiver, NSString* _Nullable msgTip); + +FOUNDATION_EXPORT void Open_im_sdkUnInitSDK(void); + +// skipped function UnixSecondToTime with unsupported parameter or return types + + +@class Open_im_sdkBase; + +@class Open_im_sdkIMSDKListener; + +@class Open_im_sdkOnAdvancedMsgListener; + +@class Open_im_sdkOnConversationListener; + +@class Open_im_sdkOnFriendshipListener; + +@class Open_im_sdkOnGroupListener; + +@class Open_im_sdkSendMsgCallBack; + +@interface Open_im_sdkBase : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@interface Open_im_sdkIMSDKListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onConnectFailed:(long)ErrCode ErrMsg:(NSString* _Nullable)ErrMsg; +- (void)onConnectSuccess; +- (void)onConnecting; +- (void)onKickedOffline; +- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; +- (void)onUserTokenExpired; +@end + +@interface Open_im_sdkOnAdvancedMsgListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; +- (void)onRecvMessageRevoked:(NSString* _Nullable)msgId; +- (void)onRecvNewMessage:(NSString* _Nullable)message; +@end + +@interface Open_im_sdkOnConversationListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onConversationChanged:(NSString* _Nullable)conversationList; +- (void)onNewConversation:(NSString* _Nullable)conversationList; +- (void)onSyncServerFailed; +- (void)onSyncServerFinish; +- (void)onSyncServerStart; +- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; +@end + +@interface Open_im_sdkOnFriendshipListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onBlackListAdd:(NSString* _Nullable)userInfo; +- (void)onBlackListDeleted:(NSString* _Nullable)userInfo; +- (void)onFriendApplicationListAccept:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListAdded:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListDeleted:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListReject:(NSString* _Nullable)applyUserInfo; +- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; +- (void)onFriendListAdded:(NSString* _Nullable)friendInfo; +- (void)onFriendListDeleted:(NSString* _Nullable)friendInfo; +@end + +@interface Open_im_sdkOnGroupListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onApplicationProcessed:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser AgreeOrReject:(int32_t)AgreeOrReject opReason:(NSString* _Nullable)opReason; +- (void)onGroupCreated:(NSString* _Nullable)groupId; +- (void)onGroupInfoChanged:(NSString* _Nullable)groupId groupInfo:(NSString* _Nullable)groupInfo; +- (void)onMemberEnter:(NSString* _Nullable)groupId memberList:(NSString* _Nullable)memberList; +- (void)onMemberInvited:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberKicked:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberLeave:(NSString* _Nullable)groupId member:(NSString* _Nullable)member; +- (void)onReceiveJoinApplication:(NSString* _Nullable)groupId member:(NSString* _Nullable)member opReason:(NSString* _Nullable)opReason; +@end + +@interface Open_im_sdkSendMsgCallBack : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onProgress:(long)progress; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/Universe.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/Universe.objc.h new file mode 100644 index 0000000..019e750 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/Universe.objc.h @@ -0,0 +1,29 @@ +// Objective-C API for talking to Go package. +// gobind -lang=objc +// +// File is generated by gobind. Do not edit. + +#ifndef __Universe_H__ +#define __Universe_H__ + +@import Foundation; +#include "ref.h" + +@protocol Universeerror; +@class Universeerror; + +@protocol Universeerror +- (NSString* _Nonnull)error; +@end + +@class Universeerror; + +@interface Universeerror : NSError { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (NSString* _Nonnull)error; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/ref.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/ref.h new file mode 100644 index 0000000..b8036a4 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/ref.h @@ -0,0 +1,35 @@ +// Copyright 2015 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#ifndef __GO_REF_HDR__ +#define __GO_REF_HDR__ + +#include + +// GoSeqRef is an object tagged with an integer for passing back and +// forth across the language boundary. A GoSeqRef may represent either +// an instance of a Go object, or an Objective-C object passed to Go. +// The explicit allocation of a GoSeqRef is used to pin a Go object +// when it is passed to Objective-C. The Go seq package maintains a +// reference to the Go object in a map keyed by the refnum along with +// a reference count. When the reference count reaches zero, the Go +// seq package will clear the corresponding entry in the map. +@interface GoSeqRef : NSObject { +} +@property(readonly) int32_t refnum; +@property(strong) id obj; // NULL when representing a Go object. + +// new GoSeqRef object to proxy a Go object. The refnum must be +// provided from Go side. +- (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; + +- (int32_t)incNum; + +@end + +@protocol goSeqRefInterface +-(GoSeqRef*) _ref; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Modules/module.modulemap b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..af98221 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module "OpenIMCore" { + header "ref.h" + header "Open_im_sdk.objc.h" + header "Universe.objc.h" + header "OpenIMCore.h" + + export * +} \ No newline at end of file diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/OpenIMCore b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/OpenIMCore new file mode 100644 index 0000000..fe3742b Binary files /dev/null and b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/OpenIMCore differ diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Resources/Info.plist b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Resources/Info.plist new file mode 100644 index 0000000..0d1a4b8 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,6 @@ + + + + + + diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/OpenIMCore.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/OpenIMCore.h new file mode 100644 index 0000000..577bdd8 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/OpenIMCore.h @@ -0,0 +1,13 @@ + +// Objective-C API for talking to the following Go packages +// +// open_im_sdk/open_im_sdk +// +// File is generated by gomobile bind. Do not edit. +#ifndef __OpenIMCore_FRAMEWORK_H__ +#define __OpenIMCore_FRAMEWORK_H__ + +#include "Open_im_sdk.objc.h" +#include "Universe.objc.h" + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/Open_im_sdk.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/Open_im_sdk.objc.h new file mode 100644 index 0000000..2be1858 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/Open_im_sdk.objc.h @@ -0,0 +1,1460 @@ +// Objective-C API for talking to open_im_sdk/open_im_sdk Go package. +// gobind -lang=objc open_im_sdk/open_im_sdk +// +// File is generated by gobind. Do not edit. + +#ifndef __Open_im_sdk_H__ +#define __Open_im_sdk_H__ + +@import Foundation; +#include "ref.h" +#include "Universe.objc.h" + + +@class Open_im_sdkAgreeOrRejectGroupMember; +@class Open_im_sdkArrMsg; +@class Open_im_sdkChatLog; +@class Open_im_sdkConversationListener; +@class Open_im_sdkConversationStruct; +@class Open_im_sdkFileBaseInfo; +@class Open_im_sdkFriend; +@class Open_im_sdkGatherFormat; +@class Open_im_sdkGeneralWsReq; +@class Open_im_sdkGeneralWsResp; +@class Open_im_sdkGetMaxAndMinSeqReq; +@class Open_im_sdkGetMaxAndMinSeqResp; +@class Open_im_sdkGroupApplicationInfo; +@class Open_im_sdkGroupApplicationResponseReq; +@class Open_im_sdkGroupReqListInfo; +@class Open_im_sdkIMConfig; +@class Open_im_sdkIMManager; +@class Open_im_sdkLogInfo; +@class Open_im_sdkMessageReceipt; +@class Open_im_sdkMsgData; +@class Open_im_sdkMsgFormat; +@class Open_im_sdkMsgStruct; +@class Open_im_sdkNotificationContent; +@class Open_im_sdkPictureBaseInfo; +@class Open_im_sdkPullMessageBySeqListReq; +@class Open_im_sdkPullMessageBySeqListResp; +@class Open_im_sdkPullMsgReq; +@class Open_im_sdkPullUserMsgResp; +@class Open_im_sdkSendMsgRespFromServer; +@class Open_im_sdkSliceMock; +@class Open_im_sdkSoundBaseInfo; +@class Open_im_sdkSoundElem; +@class Open_im_sdkTransferGroupOwnerReq; +@class Open_im_sdkUid2Flag; +@class Open_im_sdkUserRelated; +@class Open_im_sdkUserSendMsgReq; +@class Open_im_sdkUserSendMsgResp; +@class Open_im_sdkVideoBaseInfo; +@class Open_im_sdkWsMsgData; +@class Open_im_sdkWsSendMsgResp; +@class Open_im_sdkWsSubMsg; +@protocol Open_im_sdkBase; +@class Open_im_sdkBase; +@protocol Open_im_sdkIMSDKListener; +@class Open_im_sdkIMSDKListener; +@protocol Open_im_sdkOnAdvancedMsgListener; +@class Open_im_sdkOnAdvancedMsgListener; +@protocol Open_im_sdkOnConversationListener; +@class Open_im_sdkOnConversationListener; +@protocol Open_im_sdkOnFriendshipListener; +@class Open_im_sdkOnFriendshipListener; +@protocol Open_im_sdkOnGroupListener; +@class Open_im_sdkOnGroupListener; +@protocol Open_im_sdkSendMsgCallBack; +@class Open_im_sdkSendMsgCallBack; + +@protocol Open_im_sdkBase +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@protocol Open_im_sdkIMSDKListener +- (void)onConnectFailed:(long)ErrCode ErrMsg:(NSString* _Nullable)ErrMsg; +- (void)onConnectSuccess; +- (void)onConnecting; +- (void)onKickedOffline; +- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; +- (void)onUserTokenExpired; +@end + +@protocol Open_im_sdkOnAdvancedMsgListener +- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; +- (void)onRecvMessageRevoked:(NSString* _Nullable)msgId; +- (void)onRecvNewMessage:(NSString* _Nullable)message; +@end + +@protocol Open_im_sdkOnConversationListener +- (void)onConversationChanged:(NSString* _Nullable)conversationList; +- (void)onNewConversation:(NSString* _Nullable)conversationList; +- (void)onSyncServerFailed; +- (void)onSyncServerFinish; +- (void)onSyncServerStart; +- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; +@end + +@protocol Open_im_sdkOnFriendshipListener +- (void)onBlackListAdd:(NSString* _Nullable)userInfo; +- (void)onBlackListDeleted:(NSString* _Nullable)userInfo; +- (void)onFriendApplicationListAccept:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListAdded:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListDeleted:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListReject:(NSString* _Nullable)applyUserInfo; +- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; +- (void)onFriendListAdded:(NSString* _Nullable)friendInfo; +- (void)onFriendListDeleted:(NSString* _Nullable)friendInfo; +@end + +@protocol Open_im_sdkOnGroupListener +- (void)onApplicationProcessed:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser AgreeOrReject:(int32_t)AgreeOrReject opReason:(NSString* _Nullable)opReason; +- (void)onGroupCreated:(NSString* _Nullable)groupId; +- (void)onGroupInfoChanged:(NSString* _Nullable)groupId groupInfo:(NSString* _Nullable)groupInfo; +- (void)onMemberEnter:(NSString* _Nullable)groupId memberList:(NSString* _Nullable)memberList; +- (void)onMemberInvited:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberKicked:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberLeave:(NSString* _Nullable)groupId member:(NSString* _Nullable)member; +- (void)onReceiveJoinApplication:(NSString* _Nullable)groupId member:(NSString* _Nullable)member opReason:(NSString* _Nullable)opReason; +@end + +@protocol Open_im_sdkSendMsgCallBack +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onProgress:(long)progress; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@interface Open_im_sdkAgreeOrRejectGroupMember : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull groupId; +@property (nonatomic) NSString* _Nonnull userId; +@property (nonatomic) long role; +// skipped field AgreeOrRejectGroupMember.JoinTime with unsupported type: uint64 + +@property (nonatomic) NSString* _Nonnull nickName; +@property (nonatomic) NSString* _Nonnull faceUrl; +@property (nonatomic) NSString* _Nonnull reason; +@end + +@interface Open_im_sdkArrMsg : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field ArrMsg.SingleData with unsupported type: []open_im_sdk/open_im_sdk.MsgData + +// skipped field ArrMsg.GroupData with unsupported type: []open_im_sdk/open_im_sdk.MsgData + +@end + +@interface Open_im_sdkChatLog : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull msgId; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) int32_t isRead; +@property (nonatomic) int64_t seq; +@property (nonatomic) int32_t status; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) NSString* _Nonnull content; +// skipped field ChatLog.Remark with unsupported type: database/sql.NullString + +@property (nonatomic) int32_t senderPlatformID; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int64_t createTime; +@end + +@interface Open_im_sdkConversationListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) id _Nullable conversationListenerx; +// skipped field ConversationListener.MsgListenerList with unsupported type: []open_im_sdk/open_im_sdk.OnAdvancedMsgListener + +@end + +@interface Open_im_sdkConversationStruct : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull conversationID; +@property (nonatomic) long conversationType; +@property (nonatomic) NSString* _Nonnull userID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull showName; +@property (nonatomic) NSString* _Nonnull faceURL; +@property (nonatomic) long recvMsgOpt; +@property (nonatomic) long unreadCount; +@property (nonatomic) NSString* _Nonnull latestMsg; +@property (nonatomic) int64_t latestMsgSendTime; +@property (nonatomic) NSString* _Nonnull draftText; +@property (nonatomic) int64_t draftTimestamp; +@property (nonatomic) long isPinned; +@end + +@interface Open_im_sdkFileBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull filePath; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) NSString* _Nonnull fileName; +@property (nonatomic) int64_t fileSize; +@end + +@interface Open_im_sdkFriend : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@end + +@interface Open_im_sdkGatherFormat : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +/** + * @inject_tag: json:"id" + */ +@property (nonatomic) NSString* _Nonnull id_; +// skipped field GatherFormat.List with unsupported type: []*open_im_sdk/open_im_sdk.MsgFormat + +// skipped field GatherFormat.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GatherFormat.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GatherFormat.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGeneralWsReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t reqIdentifier; +@property (nonatomic) NSString* _Nonnull token; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSString* _Nonnull msgIncr; +@property (nonatomic) NSData* _Nullable data; +@end + +@interface Open_im_sdkGeneralWsResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long reqIdentifier; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) NSString* _Nonnull msgIncr; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSData* _Nullable data; +@end + +@interface Open_im_sdkGetMaxAndMinSeqReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field GetMaxAndMinSeqReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GetMaxAndMinSeqReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GetMaxAndMinSeqReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGetMaxAndMinSeqResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t maxSeq; +@property (nonatomic) int64_t minSeq; +// skipped field GetMaxAndMinSeqResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method GetMaxAndMinSeqResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method GetMaxAndMinSeqResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkGroupApplicationInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field GroupApplicationInfo.Info with unsupported type: open_im_sdk/open_im_sdk.accessOrRefuseGroupApplicationReq + +@property (nonatomic) NSString* _Nonnull handUserID; +@property (nonatomic) NSString* _Nonnull handUserName; +@property (nonatomic) NSString* _Nonnull handUserIcon; +@end + +@interface Open_im_sdkGroupApplicationResponseReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull operationID; +@property (nonatomic) NSString* _Nonnull ownerID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull fromUserID; +@property (nonatomic) NSString* _Nonnull fromUserNickName; +@property (nonatomic) NSString* _Nonnull fromUserFaceUrl; +@property (nonatomic) NSString* _Nonnull toUserID; +@property (nonatomic) NSString* _Nonnull toUserNickName; +@property (nonatomic) NSString* _Nonnull toUserFaceUrl; +@property (nonatomic) int64_t addTime; +@property (nonatomic) NSString* _Nonnull requestMsg; +@property (nonatomic) NSString* _Nonnull handledMsg; +@property (nonatomic) int32_t type; +@property (nonatomic) int32_t handleStatus; +@property (nonatomic) int32_t handleResult; +@end + +@interface Open_im_sdkGroupReqListInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull id_; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull fromUserID; +@property (nonatomic) NSString* _Nonnull toUserID; +@property (nonatomic) int32_t flag; +@property (nonatomic) NSString* _Nonnull requestMsg; +@property (nonatomic) NSString* _Nonnull handledMsg; +@property (nonatomic) int64_t addTime; +@property (nonatomic) NSString* _Nonnull fromUserNickname; +@property (nonatomic) NSString* _Nonnull toUserNickname; +@property (nonatomic) NSString* _Nonnull fromUserFaceUrl; +@property (nonatomic) NSString* _Nonnull toUserFaceUrl; +@property (nonatomic) NSString* _Nonnull handledUser; +@property (nonatomic) int32_t type; +@property (nonatomic) int32_t handleStatus; +@property (nonatomic) int32_t handleResult; +- (NSString* _Nonnull)key; +// skipped method GroupReqListInfo.Value with unsupported parameter or return types + +@end + +@interface Open_im_sdkIMConfig : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t platform; +@property (nonatomic) NSString* _Nonnull ipApiAddr; +@property (nonatomic) NSString* _Nonnull ipWsAddr; +@property (nonatomic) NSString* _Nonnull dbDir; +@end + +@interface Open_im_sdkIMManager : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long loginState; +@end + +@interface Open_im_sdkLogInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull info; +@end + +@interface Open_im_sdkMessageReceipt : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull userID; +// skipped field MessageReceipt.MsgIdList with unsupported type: []string + +@property (nonatomic) int64_t readTime; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t sessionType; +@end + +@interface Open_im_sdkMsgData : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int64_t seq; +@property (nonatomic) int32_t senderPlatformID; +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field MsgData.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method MsgData.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method MsgData.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkMsgFormat : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +/** + * @inject_tag: json:"sendID" + */ +@property (nonatomic) NSString* _Nonnull sendID; +/** + * @inject_tag: json:"recvID" + */ +@property (nonatomic) NSString* _Nonnull recvID; +/** + * @inject_tag: json:"msgFrom" + */ +@property (nonatomic) int32_t msgFrom; +/** + * @inject_tag: json:"contentType" + */ +@property (nonatomic) int32_t contentType; +/** + * @inject_tag: json:"serverMsgID" + */ +@property (nonatomic) NSString* _Nonnull serverMsgID; +/** + * @inject_tag: json:"content" + */ +@property (nonatomic) NSString* _Nonnull content; +/** + * @inject_tag: json:"seq" + */ +@property (nonatomic) int64_t seq; +/** + * @inject_tag: json:"sendTime" + */ +@property (nonatomic) int64_t sendTime; +/** + * @inject_tag: json:"senderPlatformID" + */ +@property (nonatomic) int32_t senderPlatformID; +/** + * @inject_tag: json:"senderNickName" + */ +@property (nonatomic) NSString* _Nonnull senderNickName; +/** + * @inject_tag: json:"senderFaceUrl" + */ +@property (nonatomic) NSString* _Nonnull senderFaceURL; +/** + * @inject_tag: json:"clientMsgID" + */ +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field MsgFormat.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method MsgFormat.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method MsgFormat.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkMsgStruct : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) int64_t createTime; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) NSString* _Nonnull sendID; +@property (nonatomic) NSString* _Nonnull recvID; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) int32_t platformID; +// skipped field MsgStruct.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) int64_t seq; +@property (nonatomic) BOOL isRead; +@property (nonatomic) int32_t status; +@property (nonatomic) NSString* _Nonnull remark; +// skipped field MsgStruct.PictureElem with unsupported type: struct{SourcePath string "json:\"sourcePath\""; SourcePicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"sourcePicture\""; BigPicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"bigPicture\""; SnapshotPicture open_im_sdk/open_im_sdk.PictureBaseInfo "json:\"snapshotPicture\""} + +// skipped field MsgStruct.SoundElem with unsupported type: struct{UUID string "json:\"uuid\""; SoundPath string "json:\"soundPath\""; SourceURL string "json:\"sourceUrl\""; DataSize int64 "json:\"dataSize\""; Duration int64 "json:\"duration\""} + +// skipped field MsgStruct.VideoElem with unsupported type: struct{VideoPath string "json:\"videoPath\""; VideoUUID string "json:\"videoUUID\""; VideoURL string "json:\"videoUrl\""; VideoType string "json:\"videoType\""; VideoSize int64 "json:\"videoSize\""; Duration int64 "json:\"duration\""; SnapshotPath string "json:\"snapshotPath\""; SnapshotUUID string "json:\"snapshotUUID\""; SnapshotSize int64 "json:\"snapshotSize\""; SnapshotURL string "json:\"snapshotUrl\""; SnapshotWidth int32 "json:\"snapshotWidth\""; SnapshotHeight int32 "json:\"snapshotHeight\""} + +// skipped field MsgStruct.FileElem with unsupported type: struct{FilePath string "json:\"filePath\""; UUID string "json:\"uuid\""; SourceURL string "json:\"sourceUrl\""; FileName string "json:\"fileName\""; FileSize int64 "json:\"fileSize\""} + +// skipped field MsgStruct.MergeElem with unsupported type: struct{Title string "json:\"title\""; AbstractList []string "json:\"abstractList\""; MultiMessage []*open_im_sdk/open_im_sdk.MsgStruct "json:\"multiMessage\""} + +// skipped field MsgStruct.AtElem with unsupported type: struct{Text string "json:\"text\""; AtUserList []string "json:\"atUserList\""; IsAtSelf bool "json:\"isAtSelf\""} + +// skipped field MsgStruct.LocationElem with unsupported type: struct{Description string "json:\"description\""; Longitude float64 "json:\"longitude\""; Latitude float64 "json:\"latitude\""} + +// skipped field MsgStruct.CustomElem with unsupported type: struct{Data string "json:\"data\""; Description string "json:\"description\""; Extension string "json:\"extension\""} + +// skipped field MsgStruct.QuoteElem with unsupported type: struct{Text string "json:\"text\""; QuoteMessage *open_im_sdk/open_im_sdk.MsgStruct "json:\"quoteMessage\""} + +@end + +@interface Open_im_sdkNotificationContent : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t isDisplay; +@property (nonatomic) NSString* _Nonnull defaultTips; +@property (nonatomic) NSString* _Nonnull detail; +@end + +@interface Open_im_sdkPictureBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull type; +@property (nonatomic) int64_t size; +@property (nonatomic) int32_t width; +@property (nonatomic) int32_t height; +@property (nonatomic) NSString* _Nonnull url; +@end + +@interface Open_im_sdkPullMessageBySeqListReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field PullMessageBySeqListReq.SeqList with unsupported type: []int64 + +// skipped field PullMessageBySeqListReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method PullMessageBySeqListReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method PullMessageBySeqListReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkPullMessageBySeqListResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t maxSeq; +@property (nonatomic) int64_t minSeq; +// skipped field PullMessageBySeqListResp.SingleUserMsg with unsupported type: []*open_im_sdk/open_im_sdk.GatherFormat + +// skipped field PullMessageBySeqListResp.GroupUserMsg with unsupported type: []*open_im_sdk/open_im_sdk.GatherFormat + +// skipped field PullMessageBySeqListResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method PullMessageBySeqListResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method PullMessageBySeqListResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkPullMsgReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull userID; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) Open_im_sdkMsgStruct* _Nullable startMsg; +@property (nonatomic) long count; +@end + +@interface Open_im_sdkPullUserMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) long reqIdentifier; +@property (nonatomic) long msgIncr; +// skipped field PullUserMsgResp.Data with unsupported type: open_im_sdk/open_im_sdk.paramsPullUserMsgDataResp + +@end + +@interface Open_im_sdkSendMsgRespFromServer : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) long errCode; +@property (nonatomic) NSString* _Nonnull errMsg; +@property (nonatomic) long reqIdentifier; +// skipped field SendMsgRespFromServer.Data with unsupported type: struct{ServerMsgID string "json:\"serverMsgID\""; ClientMsgID string "json:\"clientMsgID\""; SendTime int64 "json:\"sendTime\""} + +@end + +@interface Open_im_sdkSliceMock : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@end + +@interface Open_im_sdkSoundBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull soundPath; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) int64_t dataSize; +@property (nonatomic) int64_t duration; +@end + +@interface Open_im_sdkSoundElem : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uuid; +@property (nonatomic) NSString* _Nonnull soundPath; +@property (nonatomic) NSString* _Nonnull sourceURL; +@property (nonatomic) int64_t dataSize; +@property (nonatomic) int64_t duration; +@end + +@interface Open_im_sdkTransferGroupOwnerReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull groupID; +@property (nonatomic) NSString* _Nonnull oldOwner; +@property (nonatomic) NSString* _Nonnull newOwner; +@property (nonatomic) NSString* _Nonnull operationID; +@end + +@interface Open_im_sdkUid2Flag : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull uid; +@property (nonatomic) int32_t flag; +@end + +@interface Open_im_sdkUserRelated : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field UserRelated.ConversationCh with unsupported type: chan open_im_sdk/open_im_sdk.cmd2Value + +// skipped field UserRelated.SvrConf with unsupported type: open_im_sdk/open_im_sdk.IMConfig + +@property (nonatomic) NSString* _Nonnull loginUid; +// skipped field UserRelated.IMManager with unsupported type: open_im_sdk/open_im_sdk.IMManager + +// skipped field UserRelated.Friend with unsupported type: open_im_sdk/open_im_sdk.Friend + +// skipped field UserRelated.ConversationListener with unsupported type: open_im_sdk/open_im_sdk.ConversationListener + +- (void)acceptFriendApplication:(id _Nullable)callback uid:(NSString* _Nullable)uid; +- (void)acceptGroupApplication:(NSString* _Nullable)application reason:(NSString* _Nullable)reason callback:(id _Nullable)callback; +- (void)addAdvancedMsgListener:(id _Nullable)listener; +// skipped method UserRelated.AddCh with unsupported parameter or return types + +- (void)addFriend:(id _Nullable)callback paramsReq:(NSString* _Nullable)paramsReq; +- (void)addToBlackList:(id _Nullable)callback blackUid:(NSString* _Nullable)blackUid; +- (void)checkFriend:(id _Nullable)callback uidList:(NSString* _Nullable)uidList; +- (NSString* _Nonnull)createCardMessage:(NSString* _Nullable)cardInfo; +- (NSString* _Nonnull)createCustomMessage:(NSString* _Nullable)data extension:(NSString* _Nullable)extension description:(NSString* _Nullable)description; +- (NSString* _Nonnull)createFileMessage:(NSString* _Nullable)filePath fileName:(NSString* _Nullable)fileName; +- (NSString* _Nonnull)createFileMessageByURL:(NSString* _Nullable)fileBaseInfo; +- (NSString* _Nonnull)createFileMessageFromFullPath:(NSString* _Nullable)fileFullPath fileName:(NSString* _Nullable)fileName; +- (NSString* _Nonnull)createForwardMessage:(NSString* _Nullable)m; +- (void)createGroup:(NSString* _Nullable)gInfo memberList:(NSString* _Nullable)memberList callback:(id _Nullable)callback; +- (NSString* _Nonnull)createImageMessage:(NSString* _Nullable)imagePath; +- (NSString* _Nonnull)createImageMessageByURL:(NSString* _Nullable)sourcePicture bigPicture:(NSString* _Nullable)bigPicture snapshotPicture:(NSString* _Nullable)snapshotPicture; +- (NSString* _Nonnull)createImageMessageFromFullPath:(NSString* _Nullable)imageFullPath; +- (NSString* _Nonnull)createLocationMessage:(NSString* _Nullable)description longitude:(double)longitude latitude:(double)latitude; +- (NSString* _Nonnull)createMergerMessage:(NSString* _Nullable)messageList title:(NSString* _Nullable)title summaryList:(NSString* _Nullable)summaryList; +- (NSString* _Nonnull)createQuoteMessage:(NSString* _Nullable)text message:(NSString* _Nullable)message; +- (NSString* _Nonnull)createSoundMessage:(NSString* _Nullable)soundPath duration:(int64_t)duration; +- (NSString* _Nonnull)createSoundMessageByURL:(NSString* _Nullable)soundBaseInfo; +- (NSString* _Nonnull)createSoundMessageFromFullPath:(NSString* _Nullable)soundPath duration:(int64_t)duration; +- (NSString* _Nonnull)createTextAtMessage:(NSString* _Nullable)text atUserList:(NSString* _Nullable)atUserList; +- (NSString* _Nonnull)createTextMessage:(NSString* _Nullable)text; +- (NSString* _Nonnull)createVideoMessage:(NSString* _Nullable)videoPath videoType:(NSString* _Nullable)videoType duration:(int64_t)duration snapshotPath:(NSString* _Nullable)snapshotPath; +- (NSString* _Nonnull)createVideoMessageByURL:(NSString* _Nullable)videoBaseInfo; +- (NSString* _Nonnull)createVideoMessageFromFullPath:(NSString* _Nullable)videoFullPath videoType:(NSString* _Nullable)videoType duration:(int64_t)duration snapshotFullPath:(NSString* _Nullable)snapshotFullPath; +- (void)delCh:(NSString* _Nullable)msgIncr; +- (void)deleteConversation:(NSString* _Nullable)conversationID callback:(id _Nullable)callback; +- (void)deleteFromBlackList:(id _Nullable)callback deleteUid:(NSString* _Nullable)deleteUid; +- (void)deleteFromFriendList:(NSString* _Nullable)deleteUid callback:(id _Nullable)callback; +- (void)deleteMessageFromLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message; +- (void)findMessages:(id _Nullable)callback messageIDList:(NSString* _Nullable)messageIDList; +- (void)forceReConn; +- (void)forceSyncApplyGroupRequest; +- (void)forceSyncBlackList; +- (void)forceSyncFriend; +- (void)forceSyncFriendApplication; +- (void)forceSyncGroupRequest; +- (void)forceSyncJoinedGroup; +- (void)forceSyncJoinedGroupMember; +- (void)forceSyncLoginUserInfo; +- (BOOL)forceSyncMsg; +- (NSString* _Nonnull)genMsgIncr; +- (void)getAllConversationList:(id _Nullable)callback; +- (void)getBlackList:(id _Nullable)callback; +// skipped method UserRelated.GetCh with unsupported parameter or return types + +- (void)getFriendApplicationList:(id _Nullable)callback; +- (void)getFriendList:(id _Nullable)callback; +- (void)getFriendsInfo:(id _Nullable)callback uidList:(NSString* _Nullable)uidList; +- (void)getGroupApplicationList:(id _Nullable)callback; +- (void)getGroupMemberList:(NSString* _Nullable)groupId filter:(int32_t)filter next:(int32_t)next callback:(id _Nullable)callback; +- (void)getGroupMembersInfo:(NSString* _Nullable)groupId userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)getGroupsInfo:(NSString* _Nullable)groupIdList callback:(id _Nullable)callback; +- (void)getHistoryMessageList:(id _Nullable)callback getMessageOptions:(NSString* _Nullable)getMessageOptions; +- (void)getJoinedGroupList:(id _Nullable)callback; +- (long)getLoginStatus; +- (NSString* _Nonnull)getLoginUser; +- (int64_t)getMinSeqSvr; +- (void)getMultipleConversation:(NSString* _Nullable)conversationIDList callback:(id _Nullable)callback; +- (void)getOneConversation:(NSString* _Nullable)sourceID sessionType:(long)sessionType callback:(id _Nullable)callback; +- (void)getTotalUnreadMsgCount:(id _Nullable)callback; +- (void)getUsersInfo:(NSString* _Nullable)uIDList cb:(id _Nullable)cb; +// skipped method UserRelated.GroupApplicationProcessedCallback with unsupported parameter or return types + +- (BOOL)initSDK:(NSString* _Nullable)config cb:(id _Nullable)cb; +- (NSString* _Nonnull)insertGroupMessageToLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message groupID:(NSString* _Nullable)groupID sender:(NSString* _Nullable)sender; +- (NSString* _Nonnull)insertSingleMessageToLocalStorage:(id _Nullable)callback message:(NSString* _Nullable)message userID:(NSString* _Nullable)userID sender:(NSString* _Nullable)sender; +- (void)inviteUserToGroup:(NSString* _Nullable)groupId reason:(NSString* _Nullable)reason userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)joinGroup:(NSString* _Nullable)groupId message:(NSString* _Nullable)message callback:(id _Nullable)callback; +- (void)kickGroupMember:(NSString* _Nullable)groupId reason:(NSString* _Nullable)reason userList:(NSString* _Nullable)userList callback:(id _Nullable)callback; +- (void)login:(NSString* _Nullable)uid tk:(NSString* _Nullable)tk callback:(id _Nullable)callback; +- (void)logout:(id _Nullable)callback; +- (void)markC2CMessageAsRead:(id _Nullable)callback receiver:(NSString* _Nullable)receiver msgIDList:(NSString* _Nullable)msgIDList; +- (void)markGroupMessageHasRead:(id _Nullable)callback groupID:(NSString* _Nullable)groupID; +- (void)markSingleMessageHasRead:(id _Nullable)callback userID:(NSString* _Nullable)userID; +// skipped method UserRelated.OnMemberInvited with unsupported parameter or return types + +// skipped method UserRelated.OnMemberKicked with unsupported parameter or return types + +- (void)pinConversation:(NSString* _Nullable)conversationID isPinned:(BOOL)isPinned callback:(id _Nullable)callback; +// skipped method UserRelated.Prepare with unsupported parameter or return types + +// skipped method UserRelated.Query with unsupported parameter or return types + +- (void)quitGroup:(NSString* _Nullable)groupId callback:(id _Nullable)callback; +- (void)refuseFriendApplication:(id _Nullable)callback uid:(NSString* _Nullable)uid; +- (void)refuseGroupApplication:(NSString* _Nullable)application reason:(NSString* _Nullable)reason callback:(id _Nullable)callback; +- (BOOL)resetConversation:(NSString* _Nullable)conversationID error:(NSError* _Nullable* _Nullable)error; +- (void)revokeMessage:(id _Nullable)callback message:(NSString* _Nullable)message; +- (NSString* _Nonnull)sendMessage:(id _Nullable)callback message:(NSString* _Nullable)message receiver:(NSString* _Nullable)receiver groupID:(NSString* _Nullable)groupID onlineUserOnly:(BOOL)onlineUserOnly; +- (NSString* _Nonnull)sendMessageNotOss:(id _Nullable)callback message:(NSString* _Nullable)message receiver:(NSString* _Nullable)receiver groupID:(NSString* _Nullable)groupID onlineUserOnly:(BOOL)onlineUserOnly; +- (void)setConversationDraft:(NSString* _Nullable)conversationID draftText:(NSString* _Nullable)draftText callback:(id _Nullable)callback; +- (void)setConversationListener:(id _Nullable)listener; +- (void)setFriendInfo:(NSString* _Nullable)comment callback:(id _Nullable)callback; +- (BOOL)setFriendListener:(id _Nullable)listener; +- (void)setGroupInfo:(NSString* _Nullable)jsonGroupInfo callback:(id _Nullable)callback; +- (void)setGroupListener:(id _Nullable)callback; +- (void)setMinSeqSvr:(int64_t)minSeqSvr; +- (void)setSelfInfo:(NSString* _Nullable)info cb:(id _Nullable)cb; +- (void)transferGroupOwner:(NSString* _Nullable)groupId userId:(NSString* _Nullable)userId callback:(id _Nullable)callback; +- (void)typingStatusUpdate:(NSString* _Nullable)receiver msgTip:(NSString* _Nullable)msgTip; +- (void)unInitSDK; +// skipped method UserRelated.WriteMsg with unsupported parameter or return types + +@end + +@interface Open_im_sdkUserSendMsgReq : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +// skipped field UserSendMsgReq.Options with unsupported type: map[string]int32 + +@property (nonatomic) NSString* _Nonnull senderNickName; +@property (nonatomic) NSString* _Nonnull senderFaceURL; +@property (nonatomic) int32_t platformID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull recvID; +// skipped field UserSendMsgReq.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull content; +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field UserSendMsgReq.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method UserSendMsgReq.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method UserSendMsgReq.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkUserSendMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) int64_t sendTime; +// skipped field UserSendMsgResp.XXX_NoUnkeyedLiteral with unsupported type: struct{} + +@property (nonatomic) NSData* _Nullable xxX_unrecognized; +@property (nonatomic) int32_t xxX_sizecache; +// skipped method UserSendMsgResp.Descriptor with unsupported parameter or return types + +- (void)protoMessage; +- (void)reset; +- (NSString* _Nonnull)string; +- (void)xxX_DiscardUnknown; +- (NSData* _Nullable)xxX_Marshal:(NSData* _Nullable)b deterministic:(BOOL)deterministic error:(NSError* _Nullable* _Nullable)error; +// skipped method UserSendMsgResp.XXX_Merge with unsupported parameter or return types + +- (long)xxX_Size; +- (BOOL)xxX_Unmarshal:(NSData* _Nullable)b error:(NSError* _Nullable* _Nullable)error; +@end + +@interface Open_im_sdkVideoBaseInfo : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull videoPath; +@property (nonatomic) NSString* _Nonnull videoUUID; +@property (nonatomic) NSString* _Nonnull videoURL; +@property (nonatomic) NSString* _Nonnull videoType; +@property (nonatomic) int64_t videoSize; +@property (nonatomic) int64_t duration; +@property (nonatomic) NSString* _Nonnull snapshotPath; +@property (nonatomic) NSString* _Nonnull snapshotUUID; +@property (nonatomic) int64_t snapshotSize; +@property (nonatomic) NSString* _Nonnull snapshotURL; +@property (nonatomic) int32_t snapshotWidth; +@property (nonatomic) int32_t snapshotHeight; +@end + +@interface Open_im_sdkWsMsgData : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int32_t platformID; +@property (nonatomic) int32_t sessionType; +@property (nonatomic) int32_t msgFrom; +@property (nonatomic) int32_t contentType; +@property (nonatomic) NSString* _Nonnull recvID; +// skipped field WsMsgData.ForceList with unsupported type: []string + +@property (nonatomic) NSString* _Nonnull content; +// skipped field WsMsgData.Options with unsupported type: map[string]interface{} + +@property (nonatomic) NSString* _Nonnull clientMsgID; +// skipped field WsMsgData.OfflineInfo with unsupported type: map[string]interface{} + +// skipped field WsMsgData.Ext with unsupported type: map[string]interface{} + +@end + +@interface Open_im_sdkWsSendMsgResp : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@property (nonatomic) int64_t sendTime; +@end + +@interface Open_im_sdkWsSubMsg : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (nonnull instancetype)init; +@property (nonatomic) int64_t sendTime; +@property (nonatomic) NSString* _Nonnull serverMsgID; +@property (nonatomic) NSString* _Nonnull clientMsgID; +@end + +FOUNDATION_EXPORT const int64_t Open_im_sdkAcceptFriendApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAcceptGroupApplicationTip; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkAcceptGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAddConOrUpLatMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkAddFriendTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkAtText; +FOUNDATION_EXPORT const int64_t Open_im_sdkCard; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdAcceptFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdAddFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdBlackList; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdDeleteConversation; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncFriendApplication; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncLoginUerInfo; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdForceSyncMsg; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFriendApplication; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdFroceSyncBlackList; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdGeyLoginUserInfo; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdNewMsgCome; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdReLogin; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdRefuseFriend; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdUnInit; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkCmdUpdateConversation; +FOUNDATION_EXPORT const int64_t Open_im_sdkConAndUnreadChange; +FOUNDATION_EXPORT const int64_t Open_im_sdkConChange; +FOUNDATION_EXPORT const int64_t Open_im_sdkCreateGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkCustom; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkDeFaultSuccessMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeConversation; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeFriend; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeInitLogin; +FOUNDATION_EXPORT const int64_t Open_im_sdkErrCodeUserInfo; +FOUNDATION_EXPORT const int64_t Open_im_sdkFile; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkFriendAcceptTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionAcceptGroupApplication; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionApplyJoinGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionCreateGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionInviteUserToGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionKickGroupMember; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionQuitGroup; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionRefuseGroupApplication; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionSetGroupInfo; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupActionTransferGroupOwner; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupChatType; +/** + * /////////////////////////////////////// + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupTipBegin; +FOUNDATION_EXPORT const int64_t Open_im_sdkGroupTipEnd; +FOUNDATION_EXPORT const int64_t Open_im_sdkHasRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkHasReadReceipt; +FOUNDATION_EXPORT const int64_t Open_im_sdkIncrUnread; +FOUNDATION_EXPORT const int64_t Open_im_sdkInviteUserToGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkJoinGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkKickGroupMemberTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkKickOnlineTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkLocation; +FOUNDATION_EXPORT const int64_t Open_im_sdkLoginFailed; +FOUNDATION_EXPORT const int64_t Open_im_sdkLoginSuccess; +FOUNDATION_EXPORT const int64_t Open_im_sdkLogining; +FOUNDATION_EXPORT const int64_t Open_im_sdkLogoutCmd; +FOUNDATION_EXPORT const int64_t Open_im_sdkMaxTotalMsgLen; +FOUNDATION_EXPORT const int64_t Open_im_sdkMerger; +FOUNDATION_EXPORT const int64_t Open_im_sdkMessageHasNotRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkMessageHasRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusHasDeleted; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusRevoked; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSendFailed; +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSendSuccess; +/** + * MsgStatus + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkMsgStatusSending; +FOUNDATION_EXPORT const int64_t Open_im_sdkNotRead; +FOUNDATION_EXPORT const int64_t Open_im_sdkPicture; +FOUNDATION_EXPORT const int64_t Open_im_sdkQuitGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkQuote; +FOUNDATION_EXPORT const int64_t Open_im_sdkRefuseFriendApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkRefuseGroupApplicationTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkRevoke; +FOUNDATION_EXPORT const int64_t Open_im_sdkSetGroupInfoTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkSetSelfInfoTip; +/** + * /////////////////////////////////// +SessionType + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleChatType; +/** + * //////////////////////////////////////// + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleTipBegin; +FOUNDATION_EXPORT const int64_t Open_im_sdkSingleTipEnd; +FOUNDATION_EXPORT const int64_t Open_im_sdkSound; +FOUNDATION_EXPORT const int64_t Open_im_sdkSysMsgType; +/** + * ContentType + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkText; +FOUNDATION_EXPORT const int64_t Open_im_sdkTimeOffset; +FOUNDATION_EXPORT const int64_t Open_im_sdkTotalUnreadMessageChanged; +FOUNDATION_EXPORT const int64_t Open_im_sdkTransferGroupOwnerTip; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkTransferGroupTip; +FOUNDATION_EXPORT const int64_t Open_im_sdkTyping; +FOUNDATION_EXPORT const int64_t Open_im_sdkUnreadCountSetZero; +FOUNDATION_EXPORT const int64_t Open_im_sdkUpdateFaceUrlAndNickName; +/** + * ////////////////////////////////////// +MsgFrom + */ +FOUNDATION_EXPORT const int64_t Open_im_sdkUserMsgType; +FOUNDATION_EXPORT const int64_t Open_im_sdkVideo; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSDataError; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSGetNewestSeq; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPullMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPullMsgBySeqList; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSPushMsg; +FOUNDATION_EXPORT const int64_t Open_im_sdkWSSendMsg; +FOUNDATION_EXPORT NSString* _Nonnull const Open_im_sdkZoomScale; + +@interface Open_im_sdk : NSObject ++ (int32_t) sdkLogFlag; ++ (void) setSdkLogFlag:(int32_t)v; + +// skipped variable SvrConf with unsupported type: open_im_sdk/open_im_sdk.IMConfig + +// skipped variable UserRouterMap with unsupported type: map[string]*open_im_sdk/open_im_sdk.UserRelated + +// skipped variable UserSDKRwLock with unsupported type: sync.RWMutex + +@end + +FOUNDATION_EXPORT void Open_im_sdkAcceptFriendApplication(id _Nullable callback, NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkAcceptGroupApplication(NSString* _Nullable application, NSString* _Nullable reason, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkAddAdvancedMsgListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkAddFriend(id _Nullable callback, NSString* _Nullable paramsReq); + +FOUNDATION_EXPORT void Open_im_sdkAddToBlackList(id _Nullable callback, NSString* _Nullable blackUid); + +FOUNDATION_EXPORT void Open_im_sdkCheckFriend(id _Nullable callback, NSString* _Nullable uidList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCardMessage(NSString* _Nullable cardInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateCustomMessage(NSString* _Nullable data, NSString* _Nullable extension, NSString* _Nullable description); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessage(NSString* _Nullable filePath, NSString* _Nullable fileName); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageByURL(NSString* _Nullable fileBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateFileMessageFromFullPath(NSString* _Nullable fileFullPath, NSString* _Nullable fileName); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateForwardMessage(NSString* _Nullable m); + +FOUNDATION_EXPORT void Open_im_sdkCreateGroup(NSString* _Nullable gInfo, NSString* _Nullable memberList, id _Nullable callback); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessage(NSString* _Nullable imagePath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageByURL(NSString* _Nullable sourcePicture, NSString* _Nullable bigPicture, NSString* _Nullable snapshotPicture); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateImageMessageFromFullPath(NSString* _Nullable imageFullPath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateLocationMessage(NSString* _Nullable description, double longitude, double latitude); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateMergerMessage(NSString* _Nullable messageList, NSString* _Nullable title, NSString* _Nullable summaryList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateQuoteMessage(NSString* _Nullable text, NSString* _Nullable message); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessage(NSString* _Nullable soundPath, int64_t duration); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageByURL(NSString* _Nullable soundBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateSoundMessageFromFullPath(NSString* _Nullable soundPath, int64_t duration); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextAtMessage(NSString* _Nullable text, NSString* _Nullable atUserList); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateTextMessage(NSString* _Nullable text); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessage(NSString* _Nullable videoPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotPath); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageByURL(NSString* _Nullable videoBaseInfo); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkCreateVideoMessageFromFullPath(NSString* _Nullable videoFullPath, NSString* _Nullable videoType, int64_t duration, NSString* _Nullable snapshotFullPath); + +FOUNDATION_EXPORT void Open_im_sdkDeleteConversation(NSString* _Nullable conversationID, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkDeleteFromBlackList(id _Nullable callback, NSString* _Nullable deleteUid); + +FOUNDATION_EXPORT void Open_im_sdkDeleteFromFriendList(NSString* _Nullable deleteUid, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkDeleteMessageFromLocalStorage(id _Nullable callback, NSString* _Nullable message); + +FOUNDATION_EXPORT void Open_im_sdkFindMessages(id _Nullable callback, NSString* _Nullable messageIDList); + +FOUNDATION_EXPORT void Open_im_sdkForceSyncLoginUerInfo(void); + +FOUNDATION_EXPORT BOOL Open_im_sdkForceSyncMsg(void); + +FOUNDATION_EXPORT void Open_im_sdkGetAllConversationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetBlackList(id _Nullable callback); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetConversationIDBySessionType(NSString* _Nullable sourceID, long sessionType); + +/** + * Get the current timestamp by Mill + */ +FOUNDATION_EXPORT int64_t Open_im_sdkGetCurrentTimestampByMill(void); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendApplicationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetFriendsInfo(id _Nullable callback, NSString* _Nullable uidList); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupApplicationList(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupMemberList(NSString* _Nullable groupId, int32_t filter, int32_t next, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupMembersInfo(NSString* _Nullable groupId, NSString* _Nullable userList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetGroupsInfo(NSString* _Nullable groupIdList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetHistoryMessageList(id _Nullable callback, NSString* _Nullable getMessageOptions); + +FOUNDATION_EXPORT void Open_im_sdkGetJoinedGroupList(id _Nullable callback); + +FOUNDATION_EXPORT long Open_im_sdkGetLoginStatus(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkGetLoginUser(void); + +FOUNDATION_EXPORT void Open_im_sdkGetMultipleConversation(NSString* _Nullable conversationIDList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetOneConversation(NSString* _Nullable sourceID, long sessionType, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkGetTotalUnreadMsgCount(id _Nullable callback); + +FOUNDATION_EXPORT Open_im_sdkUserRelated* _Nullable Open_im_sdkGetUserWorker(NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkGetUsersInfo(NSString* _Nullable uIDList, id _Nullable cb); + +FOUNDATION_EXPORT BOOL Open_im_sdkInitOnce(Open_im_sdkIMConfig* _Nullable config); + +FOUNDATION_EXPORT BOOL Open_im_sdkInitSDK(NSString* _Nullable config, id _Nullable cb); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkInsertSingleMessageToLocalStorage(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable userID, NSString* _Nullable sender); + +FOUNDATION_EXPORT void Open_im_sdkInviteUserToGroup(NSString* _Nullable groupId, NSString* _Nullable reason, NSString* _Nullable userList, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkJoinGroup(NSString* _Nullable groupId, NSString* _Nullable message, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkKickGroupMember(NSString* _Nullable groupId, NSString* _Nullable reason, NSString* _Nullable userList, id _Nullable callback); + +// skipped function LogBegin with unsupported parameter or return types + + +// skipped function LogEnd with unsupported parameter or return types + + +// skipped function LogFReturn with unsupported parameter or return types + + +// skipped function LogSReturn with unsupported parameter or return types + + +// skipped function LogStart with unsupported parameter or return types + + +FOUNDATION_EXPORT void Open_im_sdkLogin(NSString* _Nullable uid, NSString* _Nullable tk, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkLogout(id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkMarkC2CMessageAsRead(id _Nullable callback, NSString* _Nullable receiver, NSString* _Nullable msgIDList); + +FOUNDATION_EXPORT void Open_im_sdkMarkGroupMessageHasRead(id _Nullable callback, NSString* _Nullable groupID); + +FOUNDATION_EXPORT void Open_im_sdkMarkSingleMessageHasRead(id _Nullable callback, NSString* _Nullable userID); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkMd5(NSString* _Nullable s); + +FOUNDATION_EXPORT void Open_im_sdkPinConversation(NSString* _Nullable conversationID, BOOL isPinned, id _Nullable callback); + +// skipped function Post2Api with unsupported parameter or return types + + +FOUNDATION_EXPORT void Open_im_sdkQuitGroup(NSString* _Nullable groupId, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkRefuseFriendApplication(id _Nullable callback, NSString* _Nullable uid); + +FOUNDATION_EXPORT void Open_im_sdkRefuseGroupApplication(NSString* _Nullable application, NSString* _Nullable reason, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkRevokeMessage(id _Nullable callback, NSString* _Nullable message); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkRunFuncName(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSdkVersion(void); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSendMessage(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable receiver, NSString* _Nullable groupID, BOOL onlineUserOnly); + +FOUNDATION_EXPORT NSString* _Nonnull Open_im_sdkSendMessageNotOss(id _Nullable callback, NSString* _Nullable message, NSString* _Nullable receiver, NSString* _Nullable groupID, BOOL onlineUserOnly); + +FOUNDATION_EXPORT void Open_im_sdkSetConversationDraft(NSString* _Nullable conversationID, NSString* _Nullable draftText, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkSetConversationListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkSetFriendInfo(NSString* _Nullable comment, id _Nullable callback); + +FOUNDATION_EXPORT BOOL Open_im_sdkSetFriendListener(id _Nullable listener); + +FOUNDATION_EXPORT void Open_im_sdkSetGroupInfo(NSString* _Nullable jsonGroupInfo, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkSetGroupListener(id _Nullable callback); + +/** + * 1 no print + */ +FOUNDATION_EXPORT void Open_im_sdkSetSdkLog(int32_t flag); + +FOUNDATION_EXPORT void Open_im_sdkSetSelfInfo(NSString* _Nullable info, id _Nullable cb); + +FOUNDATION_EXPORT int64_t Open_im_sdkStringToInt64(NSString* _Nullable i); + +FOUNDATION_EXPORT void Open_im_sdkTransferGroupOwner(NSString* _Nullable groupId, NSString* _Nullable userId, id _Nullable callback); + +FOUNDATION_EXPORT void Open_im_sdkTypingStatusUpdate(NSString* _Nullable receiver, NSString* _Nullable msgTip); + +FOUNDATION_EXPORT void Open_im_sdkUnInitSDK(void); + +// skipped function UnixSecondToTime with unsupported parameter or return types + + +@class Open_im_sdkBase; + +@class Open_im_sdkIMSDKListener; + +@class Open_im_sdkOnAdvancedMsgListener; + +@class Open_im_sdkOnConversationListener; + +@class Open_im_sdkOnFriendshipListener; + +@class Open_im_sdkOnGroupListener; + +@class Open_im_sdkSendMsgCallBack; + +@interface Open_im_sdkBase : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +@interface Open_im_sdkIMSDKListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onConnectFailed:(long)ErrCode ErrMsg:(NSString* _Nullable)ErrMsg; +- (void)onConnectSuccess; +- (void)onConnecting; +- (void)onKickedOffline; +- (void)onSelfInfoUpdated:(NSString* _Nullable)userInfo; +- (void)onUserTokenExpired; +@end + +@interface Open_im_sdkOnAdvancedMsgListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onRecvC2CReadReceipt:(NSString* _Nullable)msgReceiptList; +- (void)onRecvMessageRevoked:(NSString* _Nullable)msgId; +- (void)onRecvNewMessage:(NSString* _Nullable)message; +@end + +@interface Open_im_sdkOnConversationListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onConversationChanged:(NSString* _Nullable)conversationList; +- (void)onNewConversation:(NSString* _Nullable)conversationList; +- (void)onSyncServerFailed; +- (void)onSyncServerFinish; +- (void)onSyncServerStart; +- (void)onTotalUnreadMessageCountChanged:(int32_t)totalUnreadCount; +@end + +@interface Open_im_sdkOnFriendshipListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onBlackListAdd:(NSString* _Nullable)userInfo; +- (void)onBlackListDeleted:(NSString* _Nullable)userInfo; +- (void)onFriendApplicationListAccept:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListAdded:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListDeleted:(NSString* _Nullable)applyUserInfo; +- (void)onFriendApplicationListReject:(NSString* _Nullable)applyUserInfo; +- (void)onFriendInfoChanged:(NSString* _Nullable)friendInfo; +- (void)onFriendListAdded:(NSString* _Nullable)friendInfo; +- (void)onFriendListDeleted:(NSString* _Nullable)friendInfo; +@end + +@interface Open_im_sdkOnGroupListener : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onApplicationProcessed:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser AgreeOrReject:(int32_t)AgreeOrReject opReason:(NSString* _Nullable)opReason; +- (void)onGroupCreated:(NSString* _Nullable)groupId; +- (void)onGroupInfoChanged:(NSString* _Nullable)groupId groupInfo:(NSString* _Nullable)groupInfo; +- (void)onMemberEnter:(NSString* _Nullable)groupId memberList:(NSString* _Nullable)memberList; +- (void)onMemberInvited:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberKicked:(NSString* _Nullable)groupId opUser:(NSString* _Nullable)opUser memberList:(NSString* _Nullable)memberList; +- (void)onMemberLeave:(NSString* _Nullable)groupId member:(NSString* _Nullable)member; +- (void)onReceiveJoinApplication:(NSString* _Nullable)groupId member:(NSString* _Nullable)member opReason:(NSString* _Nullable)opReason; +@end + +@interface Open_im_sdkSendMsgCallBack : NSObject { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (void)onError:(long)errCode errMsg:(NSString* _Nullable)errMsg; +- (void)onProgress:(long)progress; +- (void)onSuccess:(NSString* _Nullable)data; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/Universe.objc.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/Universe.objc.h new file mode 100644 index 0000000..019e750 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/Universe.objc.h @@ -0,0 +1,29 @@ +// Objective-C API for talking to Go package. +// gobind -lang=objc +// +// File is generated by gobind. Do not edit. + +#ifndef __Universe_H__ +#define __Universe_H__ + +@import Foundation; +#include "ref.h" + +@protocol Universeerror; +@class Universeerror; + +@protocol Universeerror +- (NSString* _Nonnull)error; +@end + +@class Universeerror; + +@interface Universeerror : NSError { +} +@property(strong, readonly) _Nonnull id _ref; + +- (nonnull instancetype)initWithRef:(_Nonnull id)ref; +- (NSString* _Nonnull)error; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/ref.h b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/ref.h new file mode 100644 index 0000000..b8036a4 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Headers/ref.h @@ -0,0 +1,35 @@ +// Copyright 2015 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#ifndef __GO_REF_HDR__ +#define __GO_REF_HDR__ + +#include + +// GoSeqRef is an object tagged with an integer for passing back and +// forth across the language boundary. A GoSeqRef may represent either +// an instance of a Go object, or an Objective-C object passed to Go. +// The explicit allocation of a GoSeqRef is used to pin a Go object +// when it is passed to Objective-C. The Go seq package maintains a +// reference to the Go object in a map keyed by the refnum along with +// a reference count. When the reference count reaches zero, the Go +// seq package will clear the corresponding entry in the map. +@interface GoSeqRef : NSObject { +} +@property(readonly) int32_t refnum; +@property(strong) id obj; // NULL when representing a Go object. + +// new GoSeqRef object to proxy a Go object. The refnum must be +// provided from Go side. +- (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; + +- (int32_t)incNum; + +@end + +@protocol goSeqRefInterface +-(GoSeqRef*) _ref; +@end + +#endif diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Modules/module.modulemap b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Modules/module.modulemap new file mode 100644 index 0000000..af98221 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module "OpenIMCore" { + header "ref.h" + header "Open_im_sdk.objc.h" + header "Universe.objc.h" + header "OpenIMCore.h" + + export * +} \ No newline at end of file diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/OpenIMCore b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/OpenIMCore new file mode 100644 index 0000000..fe3742b Binary files /dev/null and b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/OpenIMCore differ diff --git a/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Resources/Info.plist b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Resources/Info.plist new file mode 100644 index 0000000..0d1a4b8 --- /dev/null +++ b/ios/Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/Current/Resources/Info.plist @@ -0,0 +1,6 @@ + + + + + + diff --git a/ios/flutter_openim_sdk.podspec b/ios/flutter_openim_sdk.podspec index 14639d5..e08535e 100644 --- a/ios/flutter_openim_sdk.podspec +++ b/ios/flutter_openim_sdk.podspec @@ -17,7 +17,7 @@ A new Flutter project. s.dependency 'Flutter' s.platform = :ios, '8.0' - s.vendored_frameworks = 'Framework/*.framework' + s.vendored_frameworks = 'Framework/*.xcframework' # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' } s.swift_version = '5.0' diff --git a/pubspec.yaml b/pubspec.yaml index 0c037bd..b9facac 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_openim_sdk description: An instant messaging plug-in that supports Android and IOS. And the server is also all open source. -version: 1.0.1 +version: 1.0.2 homepage: https://www.rentsoft.cn repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter