# Channel
# Join method
channel.join(UserModel user);
1
Parameter value
value identifier Description user UserModel (opens new window) Chat message lists result value
value identifier Description history ChannelResultModel (opens new window) Past chat history (up to 20)
# Leave method
channel.leave();
1
# Connection user list search method
channel.requestClientList();
1
result value
value identifier Description List<UserModel (opens new window)> Visitor user list
# Send message method
channel.sendMessage(String message, { mimeType: MimeType.text });
1
Parameter value
value identifier Description message String message to send
# Send Emoji method
channel.sendEmoji(String emojiIndex, { mimeType: MimeType.emojiImg });
1
Parameter value
value identifier Description emojiIndex String Emoji index to send
# Send notice method
channel.sendNotice(String message, {
mimeType: MimeType.text,
dynamic userInfo,
});
1
2
3
4
2
3
4
Parameter value
value identifier Description message String message to send
# Send whisper method
channel.sendWhisper(String message, {
required String receivedClientKey,
mimeType: MimeType.text
});
1
2
3
4
2
3
4
Parameter value
value identifier Description message String message to send
# Send custom message method
channel.sendCustom(String message);
1
Parameter value
value identifier Description message String message to send
# Send file method
channel.sendFile(UploadFileModel file);
1
Parameter value
value identifier Description file UploadFileModel (opens new window) fileModel to transfer