EmojiMessage
python
class EmojiMessage(BaseModel):
message: str
senderID: PlayerSmallID
recipientID: PlayerSmallID | Literal["AllPlayers"]
createdAt: Tickjava
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
| Attribute | Type | Description |
|---|---|---|
message | str | The actual emoji. Find a table of valid (allowed) emojis below. |
senderID | PlayerSmallID | The small ID of the player who sent the emoji message. |
recipientID | PlayerSmallID 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. |
createdAt | Tick | The game tick at which the emoji message was sent. |
Valid Emojis
The emojis allowed for sending via EmojiMessage are:
"😀", "😊", "🥰", "😇", "😎"
"😞", "🥺", "😭", "😱", "😡"
"😈", "🤡", "🖕", "🥱", "🤦♂️"
"👋", "👏", "🤌", "💪", "🫡"
"👍", "👎", "❓", "🐔", "🐀"
"🤝", "🆘", "🕊️", "🏳️", "⏳"
"🔥", "💥", "💀", "☢️", "⚠️"
"↖️", "⬆️", "↗️", "👑", "🥇"
"⬅️", "🎯", "➡️", "🥈", "🥉"
"↙️", "⬇️", "↘️", "❤️", "💔"
"💰", "⚓", "⛵", "🏡", "🛡️"