sendEmoji method

Channel sendEmoji(
  1. String message, {
  2. MimeType mimeType = MimeType.emojiImg,
})

이모지 발송

Implementation

Channel sendEmoji(
  String message, {
  MimeType mimeType = MimeType.emojiImg,
}) {
  _send({
    "type": "send",
    "address": "c2s.send.message",
    "headers": {},
    "body": {
      "nickName": user?.nickName,
      "roomId": roomId,
      "clientKey": user?.clientKey,
      "message": message,
      "mimeType": mimeType.type,
    },
  });

  return this;
}