Files
featherVoice/TUIKit/TUIChat/UI_Classic/Service/TUIChatService.h
2025-08-08 10:49:36 +08:00

40 lines
1.1 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// TUIChatManager.h
// TXIMSDK_TUIKit_iOS
//
// Created by kayev on 2021/8/12.
// Copyright © 2023 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <TIMCommon/TIMDefine.h>
#import <TUICore/TUICore.h>
@import ImSDK_Plus;
NS_ASSUME_NONNULL_BEGIN
/**
* TUIChatService currently provides two services:
* 1. Creating chat class
* 2. Getting display text information through V2TIMMessage object
*
* You can call the service through the [TUICore callService:..] method. The different service parameters are as follows:
*
* > Getting display text information through V2TIMMessage object
* serviceName: TUICore_TUIChatService
* method TUICore_TUIChatService_GetDisplayStringMethod
* param: @{TUICore_TUIChatService_GetDisplayStringMethod_MsgKey:V2TIMMessage};
*
* > Send Message
* serviceName: TUICore_TUIChatService
* method: TUICore_TUIChatService_SendMessageMethod
* param: @{TUICore_TUIChatService_SendMessageMethod_MsgKey:V2TIMMessage};
*/
@interface TUIChatService : NSObject <TUIServiceProtocol>
+ (TUIChatService *)shareInstance;
@end
NS_ASSUME_NONNULL_END