34 lines
659 B
Objective-C
34 lines
659 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)onGetUserFailure:(NSInteger)code;
|
|
|
|
///获取粉丝喜欢成功
|
|
- (void)getFansLikeSuccess:(BOOL)isLike;
|
|
///关注成功
|
|
- (void)attentionUserSuccess:(NSString *)uid;
|
|
|
|
///获取用户信息
|
|
- (void)onGetUserInfoSuccess:(UserInfoModel *)userInfo;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|