EmojiUtil

object EmojiUtil

Util used for detecting emojis inside messages.

Functions

Link copied to clipboard
fun getEmojiCount(message: Message): Int

Counts the number of emoji inside a message.

Link copied to clipboard
fun isEmojiOnly(message: Message): Boolean

Checks whether the message consists of emoji only.

Link copied to clipboard

Checks whether the message consists of single emoji.