Files
featherVoice/TUIKit/TUIContact/BaseDataProvider/TUINewFriendViewDataProvider.h

35 lines
938 B
C
Raw Normal View History

2025-08-08 10:49:36 +08:00
// Created by Tencent on 2023/06/09.
// Copyright © 2023 Tencent. All rights reserved.
/**
* This file declares the view model for the friend request interface.
* The view model can pull the friend application information through the interface provided by the IM SDK, and load the pulled information to facilitate the
* further display of the friend application interface.
*/
#import <Foundation/Foundation.h>
#import "TUICommonPendencyCell.h"
NS_ASSUME_NONNULL_BEGIN
@interface TUINewFriendViewDataProvider : NSObject
@property(readonly) NSArray *dataList;
/**
* Has data not shown.
* YESThere are unshown requestsNOAll requests are loaded.
*/
@property BOOL hasNextData;
@property BOOL isLoading;
- (void)loadData;
- (void)removeData:(TUICommonPendencyCellData *)data;
- (void)agreeData:(TUICommonPendencyCellData *)data;
- (void)rejectData:(TUICommonPendencyCellData *)data;
@end
NS_ASSUME_NONNULL_END