Skip to content

EmojiMessage

python
class EmojiMessage(BaseModel):
    message: str
    senderID: PlayerSmallID
    recipientID: PlayerSmallID | Literal["AllPlayers"]
    createdAt: Tick
java
public class EmojiMessage {
    @NotNull public String message;
    @NotNull public PlayerSmallID senderID;
    @NotNull public EmojiRecipientID recipientID;
    @NotNull public Tick createdAt;

    public boolean isAllPlayers()
    public int getPlayerSmallID()
}

Encapsulates information about an emoji message sent by a player to another player or all players.

Attributes

AttributeTypeDescription
messagestrThe actual emoji. Find a table of valid (allowed) emojis below.
senderIDPlayerSmallIDThe small ID of the player who sent the emoji message.
recipientIDPlayerSmallID or "AllPlayers"The small ID of the player who is the recipient of the emoji message, or the string "AllPlayers" if the message was sent to all players at once.
createdAtTickThe game tick at which the emoji message was sent.

Valid Emojis

The emojis allowed for sending via EmojiMessage are:

"😀", "😊", "🥰", "😇", "😎"
"😞", "🥺", "😭", "😱", "😡"
"😈", "🤡", "🖕", "🥱", "🤦‍♂️"
"👋", "👏", "🤌", "💪", "🫡"
"👍", "👎", "❓", "🐔", "🐀"
"🤝", "🆘", "🕊️", "🏳️", "⏳"
"🔥", "💥", "💀", "☢️", "⚠️"
"↖️", "⬆️", "↗️", "👑", "🥇"
"⬅️", "🎯", "➡️", "🥈", "🥉"
"↙️", "⬇️", "↘️", "❤️", "💔"
"💰", "⚓", "⛵", "🏡", "🛡️"