sendCustomGroupMessage method

Future<void> sendCustomGroupMessage(
  1. String toJid,
  2. String body,
  3. String id,
  4. String customString,
  5. int time,
)

Implementation

Future<void> sendCustomGroupMessage(String toJid, String body, String id, String customString, int time) async {
  final params = {
    "to_jid": toJid,
    "body": body,
    "id": id,
    "customText": customString,
    "time": time.toString(),
  };
  await _channel.invokeMethod('send_customgroup_message', params);
}