Function postMessage

  • Post a message to world.

    Parameters

    • message: string | RawMessage

      Body of the message.

    • players: Player[]

      Players that will get the message

    • OptionalsendToWorld: boolean

      If specified, will send the message to world.

    • OptionalpostByForm: boolean

      If specified, will send the message by ui.

    Returns void