new EMTextMessageBody(text)
- Source:
Text message body constructor.
Parameters:
Name | Type | Description |
---|---|---|
text |
String |
Methods
text() → {String}
- Source:
Get the text.
Returns:
消息类型
- Type
- String
type() → {Number}
- Source:
Get message body type.
Returns:
返回消息类型
- Type
- Number