Script API - v1.26.10.23
    Preparing search index...

    Interface UIRawMessageBeta

    A message that can be sent to the client. This is a subset of the RawMessage type, and is used for UI messages.

    interface UIRawMessage {
        rawtext?: UIRawMessage[];
        text?: string;
        translate?: string;
        with?: string[] | UIRawMessage;
    }
    Index

    Properties

    rawtext?: UIRawMessage[]

    Provides a raw-text equivalent of the current message.

    text?: string

    Provides a string literal value to use.

    translate?: string

    Provides a translation token where, if the client has an available resource in the players' language which matches the token, will get translated on the client.

    with?: string[] | UIRawMessage

    Arguments for the translation token. Can be either an array of strings or UIRawMessage containing an array of raw text objects.