PixelPlaceJS-new - v3.4.3
    Preparing search index...

    Type Alias ChatMessagePacket

    Represents a chat message.

    type ChatMessagePacket = {
        admin: boolean;
        channel: ChatChannel;
        chatmod: boolean;
        color: number;
        createdAt: string;
        golden: number;
        guild: string;
        halloween: boolean;
        icons: string[];
        mention: string;
        message: string;
        mod: boolean;
        premium: boolean;
        rainbow: boolean;
        snowballed: number;
        target: string;
        type: string;
        username: string;
        xmas: boolean;
    }
    Index

    Properties

    admin: boolean

    Whether the sender is an admin.

    channel: ChatChannel

    The channel of the message.

    chatmod: boolean

    Whether the sender is a chat moderator.

    color: number

    The color of the message.

    createdAt: string

    The timestamp when the message was created.

    golden: number

    The number of golden pixels? idk

    guild: string

    The guild of the sender.

    halloween: boolean

    Whether the message has the Halloween effect.

    icons: string[]

    The icons of the sender.

    mention: string

    The mentioned user.

    message: string

    The message content.

    mod: boolean

    Whether the sender is a moderator.

    premium: boolean

    Whether the sender has a premium account.

    rainbow: boolean

    Whether the message has the rainbow effect.

    snowballed: number

    The number of snowballs on the user.

    target: string

    The target of the message (whispers only).

    type: string

    The type of message.

    username: string

    The username of the sender.

    xmas: boolean

    Whether the message has the Christmas effect.