TUIGroupNoticeDataProvider.h 587 B

12345678910111213141516171819202122232425
  1. //
  2. // TUIGroupNoticeDataProvider.h
  3. // TUIGroup
  4. //
  5. // Created by harvy on 2022/1/12.
  6. // Copyright © 2023 Tencent. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <ImSDK_Plus/ImSDK_Plus.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface TUIGroupNoticeDataProvider : NSObject
  12. @property(nonatomic, strong, readonly) V2TIMGroupInfo *groupInfo;
  13. @property(nonatomic, copy) NSString *groupID;
  14. - (void)getGroupInfo:(dispatch_block_t)callback;
  15. - (BOOL)canEditNotice;
  16. - (void)updateNotice:(NSString *)notice callback:(void (^)(int, NSString *))callback;
  17. @end
  18. NS_ASSUME_NONNULL_END