TUIChatService.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // TUIChatManager.h
  3. // TXIMSDK_TUIKit_iOS
  4. //
  5. // Created by kayev on 2021/8/12.
  6. // Copyright © 2023 Tencent. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <TIMCommon/TIMDefine.h>
  10. #import <TUICore/TUICore.h>
  11. @import ImSDK_Plus;
  12. NS_ASSUME_NONNULL_BEGIN
  13. /**
  14. * TUIChatService currently provides two services:
  15. * 1. Creating chat class
  16. * 2. Getting display text information through V2TIMMessage object
  17. *
  18. * You can call the service through the [TUICore callService:..] method. The different service parameters are as follows:
  19. *
  20. * > Getting display text information through V2TIMMessage object
  21. * serviceName: TUICore_TUIChatService
  22. * method :TUICore_TUIChatService_GetDisplayStringMethod
  23. * param: @{TUICore_TUIChatService_GetDisplayStringMethod_MsgKey:V2TIMMessage};
  24. *
  25. * > Send Message
  26. * serviceName: TUICore_TUIChatService
  27. * method: TUICore_TUIChatService_SendMessageMethod
  28. * param: @{TUICore_TUIChatService_SendMessageMethod_MsgKey:V2TIMMessage};
  29. */
  30. @interface TUIChatService : NSObject <TUIServiceProtocol>
  31. + (TUIChatService *)shareInstance;
  32. @end
  33. NS_ASSUME_NONNULL_END