Message: {
    date: Date;
    error?: boolean;
    state: string;
    text: string;
    type: "bot" | "user";
}

Type declaration

  • date: Date
  • Optionalerror?: boolean
  • state: string
  • text: string
  • type: "bot" | "user"