TUIGroupPendencyController.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. // Created by Tencent on 2023/06/09.
  2. // Copyright © 2023 Tencent. All rights reserved.
  3. /**
  4. *
  5. * This document declares the relevant modules for group request management.
  6. * You can manage users' group join requests through the TUIGroupPendencyController in this file.
  7. * Including browsing applicant information, processing applicant requests and other related operations.
  8. */
  9. #import <TIMCommon/TIMDefine.h>
  10. #import <UIKit/UIKit.h>
  11. #import "TUIGroupPendencyDataProvider.h"
  12. NS_ASSUME_NONNULL_BEGIN
  13. /**
  14. *
  15. * 【Module name】 TUIGroupPendencyController
  16. * 【Function description】Group request controller.
  17. * This view is responsible for providing the group administrator with a controller for processing group addition applications when the group is set to
  18. * "Require Admin Approval" This control is implemented by UITableView by default, and the application for group membership is displayed through tableView. The
  19. * information for joining a group application includes: user avatar, user nickname, application introduction, and agree button. After clicking a specific
  20. * tableCell, you can enter the detailed interface corresponding to the application (the detailed page includes a reject button).
  21. */
  22. @interface TUIGroupPendencyController : UITableViewController
  23. @property TUIGroupPendencyDataProvider *viewModel;
  24. @property(nonatomic, copy) void (^cellClickBlock)(TUIGroupPendencyCell *cell);
  25. @end
  26. NS_ASSUME_NONNULL_END