Files
peko-ios/YuMi/Modules/YMMessage/Protocol/MessageProtocol.h
2024-05-07 19:40:21 +08:00

34 lines
770 B
Objective-C

//
// MessageProtocol.h
// YUMI
//
// Created by zu on 2021/12/8.
//
#import <Foundation/Foundation.h>
@class ChatLimitModel, UserInfoModel,NIMChatroom;
NS_ASSUME_NONNULL_BEGIN
@protocol MessageProtocol <NSObject>
@optional
- (void)onGetLimitChat:(ChatLimitModel *)chatLimit;
///获取用户信息成功
- (void)onGetSessionUserInfoSuccess:(UserInfoModel *)userInfo;
///获取粉丝喜欢成功
- (void)getFansLikeSuccess:(BOOL)isLike;
///关注成功
- (void)attentionUserSuccess:(NSString *)uid;
///获取用户信息
- (void)onGetUserInfoSuccess:(UserInfoModel *)userInfo;
///进入聊天室成功
-(void)enterPublicChatHallSuccess:(NIMChatroom *)chatRoom;
///进入聊天室失败
-(void)enterPublicChatHallFail:(NSInteger)code;
@end
NS_ASSUME_NONNULL_END