//
//  ChatNetApi.h
//  Pods
//
//  Created by gan on 2025/3/24.
//

#ifndef ChatNetApi_h
#define ChatNetApi_h


#endif /* ChatNetApi_h */
#import "GBaseNetApi.h"


@interface ChatNetApi : NSObject
//获取普通聊天列表
+(void)getchats:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;
//获取置顶聊天列表
+(void)gettopchats:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;

//设置置顶聊天列表
+(void)settopchats:(NSString *_Nullable)chatId succ:(nullable GSucc)succ fail:(nullable GFail)fail;

//取消置顶聊天列表
+(void)canceltopchat:(NSString *_Nullable)chatId succ:(nullable GSucc)succ fail:(nullable GFail)fail;


//删除聊天列表
+(void)removechat:(NSString *_Nullable)chatId succ:(nullable GSucc)succ fail:(nullable GFail)fail;


//获取聊天窗离线消息
+(void)getOutLineMsg:(NSString *_Nullable)chatId type:(NSInteger)type succ:(nullable GSucc)succ fail:(nullable GFail)fail;

//获取群聊消息  type=0私聊，type=1是群聊
+(void)getqunOutLineMsg:(NSString *_Nullable)chatId timestamp:(NSInteger)timestamp size:(NSInteger)size succ:(nullable GSucc)succ fail:(nullable GFail)fail;
@end
