ShengwangChatSDK 1.3.2
构造函数 | 属性 | 所有成员列表
AgoraChatTextMessageBody类 参考

#import <AgoraChatTextMessageBody.h>

类 AgoraChatTextMessageBody 继承关系图:
AgoraChatMessageBody

构造函数

(instancetype _Nonnull) - initWithText:
 
((unavailable("call initWithText: instead") - __attribute__
 
- 构造函数 继承自 AgoraChatMessageBody
(instancetype _Nonnull) - NS_UNAVAILABLE
 

属性

NSString *_Nonnull text
 
NSArray< NSString * > *_Nullable targetLanguages
 
NSDictionary< NSString *, NSString * > *_Nullable translations
 
- 属性 继承自 AgoraChatMessageBody
AgoraChatMessageBodyType type
 
NSUInteger operationTime
 
NSString * operatorId
 
NSUInteger operatorCount
 

详细描述

@header AgoraChatTextMessageBody.h @abstract The text message body.

作者
Hyphenate
版本
3.00

The text message body.

函数文档

◆ initWithText:

- (instancetype _Nonnull) initWithText: (NSString *_Nullable)  aText

Initializes a text message body instance.

参数
aTextThe text content.
返回
The text message body instance.

属性说明

◆ targetLanguages

- (NSArray<NSString*>* _Nullable) targetLanguages
readwritenonatomiccopy

The target language codes to translate.

◆ text

- (NSString* _Nonnull) text
readnonatomiccopy

The text content.

◆ translations

- (NSDictionary<NSString*,NSString*>* _Nullable) translations
readnonatomiccopy

Translated information.


该类的文档由以下文件生成: