createTextMessage method

Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createTextMessage({
  1. required String text,
})

Implementation

Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createTextMessage({required String text}) async {
  return createMessage(type: "text", params: {"text": text});
}