/**
 * Generated by orval v8.8.0 🍺
 * Do not edit manually.
 * OpenAPI spec version: 0.0.0
 */
import type { ChatTypeEnum } from "./chatTypeEnum";
import type { MessageSender } from "./messageSender";

export interface Chat {
  readonly id: number;
  chat_type?: ChatTypeEnum;
  /** @nullable */
  readonly owner: number | null;
  /** @maxLength 255 */
  name?: string;
  /** @nullable */
  icon?: string | null;
  /** @nullable */
  banner?: string | null;
  members?: number[];
  moderators?: number[];
  /** @nullable */
  hub?: number | null;
  readonly created_at: Date;
  readonly updated_at: Date;
  readonly unread_count: number;
  readonly members_detail: readonly MessageSender[];
}
