createTextMessage method
Future<V2TimValueCallback<V2TimMsgCreateInfoResult> >
createTextMessage({
- required String text,
override
创建文本消息
Implementation
@override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createTextMessage({required String text}) async {
return V2TimValueCallback<V2TimMsgCreateInfoResult>.fromJson(
formatJson(
await _channel.invokeMethod(
"createTextMessage",
buildMessageMangerParam(
{
"text": text,
},
),
),
),
);
}