WFCUAppServiceProvider.h 707 B

1234567891011121314151617181920212223242526
  1. //
  2. // WFCUAppService.h
  3. // WFChatUIKit
  4. //
  5. // Created by Heavyrain Lee on 2019/10/22.
  6. // Copyright © 2019 WildFireChat. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "WFCUGroupAnnouncement.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @protocol WFCUAppServiceProvider <NSObject>
  12. - (void)getGroupAnnouncement:(NSString *)groupId
  13. success:(void(^)(WFCUGroupAnnouncement *))successBlock
  14. error:(void(^)(int error_code))errorBlock;
  15. - (void)updateGroup:(NSString *)groupId
  16. announcement:(NSString *)announcement
  17. success:(void(^)(long timestamp))successBlock
  18. error:(void(^)(int error_code))errorBlock;
  19. @end
  20. NS_ASSUME_NONNULL_END