sendWhisper method

Channel sendWhisper(
  1. String message, {
  2. required String receivedClientKey,
  3. MimeType mimeType = MimeType.text,
})

귓속말 발송

Implementation

Channel sendWhisper(
  String message, {
  required String receivedClientKey,
  MimeType mimeType = MimeType.text,
}) {
  _send({
    "type": "send",
    "address": "c2s.whisper.message",
    "headers": {},
    "body": {
      "roomId": roomId,
      "receivedClientKey": receivedClientKey,
      "clientKey": user?.clientKey,
      "nickName": user?.nickName,
      "message": message,
      "mimeType": mimeType.type,
    },
  });

  return this;
}