Skip to content

Documentation / @imvu/client / ChatLine

Type Alias: ChatLine ​

ts
type ChatLine = 
  | {
  action: boolean;
  kind: "text";
  text: string;
}
  | {
  kind: "outfit";
  productIds: string[];
}
  | {
  furniId: string;
  kind: "seat";
  seatNumber: number;
  userId: string;
}
  | {
  booterId?: string;
  kind: "boot";
  targetId: string;
}
  | {
  args: string[];
  command: string;
  kind: "command";
};

Defined in: packages/client/src/chat/protocol.ts:19

Union Members ​

Type Literal ​

ts
{
  action: boolean;
  kind: "text";
  text: string;
}

Ordinary chat. action is true for /me … narration (the prefix is stripped from text).


Type Literal ​

ts
{
  kind: "outfit";
  productIds: string[];
}

*putOnOutfit <pid> …: the sender's outfit, avatar body first.


Type Literal ​

ts
{
  furniId: string;
  kind: "seat";
  seatNumber: number;
  userId: string;
}

*msg SeatAssignment <n> <cid> <seat> <furniId>.


Type Literal ​

ts
{
  booterId?: string;
  kind: "boot";
  targetId: string;
}

*boot <booterCid> <targetCid> or *imvu:txnBoot <targetCid>.


Type Literal ​

ts
{
  args: string[];
  command: string;
  kind: "command";
}

Any other * command, e.g. *use …, *imvu:isPureUser, *imvu:trigger ….

Released under the MIT License.