File size: 481 Bytes
4e23b01
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import type { AttachmentId } from './ids';

export type AttachmentSource =
  | { readonly kind: 'url'; readonly url: string }
  | { readonly kind: 'file'; readonly fileId: string }
  | { readonly kind: 'session_media'; readonly fileId: string };

export interface TranscriptAttachment {
  readonly attachmentId: AttachmentId;
  readonly mediaType: string;
  readonly name?: string;
  readonly size?: number;
  readonly source?: AttachmentSource;
  readonly placeholder?: string;
}