| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // ChatListStore.h
- // AIIM
- //
- // Created by gan on 2025/4/1.
- //
- #ifndef ChatListStore_h
- #define ChatListStore_h
- #endif /* ChatListStore_h */
- #import "GIMobj.h"
- @protocol ChatListStoreDelegate <NSObject>
- @optional
- - (void)ChatListChange:(NSArray *_Nullable)chatlist;
- @end
- @interface ChatListStore : NSObject
- + (ChatListStore *_Nonnull)shareInstance;
- @property (nonatomic,weak) id <ChatListStoreDelegate> delegate;
- @property (nonatomic,strong) NSString * _Nullable chatId;
- @property (nonatomic,strong) NSArray * _Nullable chatlist;
- -(void)reloadData:(BOOL)mark;
- -(void)reciveMsg:(NSDictionary *_Nonnull)msg;
- -(void)chatDidOpen:(NSDictionary *_Nonnull)chatmsg;
- - (void)deleteChat:(NSDictionary *_Nonnull)chat;
- - (void)topChat:(NSDictionary *_Nonnull)chat;
- - (void)cancelTopChat:(NSDictionary *_Nonnull)chat;
- -(void)tryToCreateChate:(NSDictionary *_Nonnull)chatmsg;
- @end
|