AgoraChatSDK 1.3.1
Instance Methods | Properties | List of all members
AgoraChatTextMessageBody Class Reference

#import <AgoraChatTextMessageBody.h>

Inheritance diagram for AgoraChatTextMessageBody:
AgoraChatMessageBody

Instance Methods

(instancetype _Nonnull) - initWithText:
 
((unavailable("call initWithText: instead") - __attribute__
 

Properties

NSString *_Nonnull text
 
NSArray< NSString * > *_Nullable targetLanguages
 
NSDictionary< NSString *, NSString * > *_Nullable translations
 
- Properties inherited from AgoraChatMessageBody
AgoraChatMessageBodyType type
 
NSUInteger operationTime
 
NSString * operatorId
 
NSUInteger operatorCount
 

Detailed Description

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

Author
Hyphenate
Version
3.00

The text message body.

Method Documentation

◆ initWithText:

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

Initializes a text message body instance.

Parameters
aTextThe text content.
Returns
The text message body instance.

Property Documentation

◆ 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.


The documentation for this class was generated from the following file: