itd-api / FileStreamContent
Interface: FileStreamContent
Defined in: core/attachments.ts:41
Открытый поток файла.
Properties
close?
ts
optional close?: () => void | Promise<void>;Defined in: core/attachments.ts:48
Освобождает внешний ресурс после завершения попытки.
Returns
void | Promise<void>
contentType?
ts
optional contentType?: string;Defined in: core/attachments.ts:44
filename?
ts
optional filename?: string;Defined in: core/attachments.ts:43
size?
ts
optional size?: number;Defined in: core/attachments.ts:46
Размер, если он известен до чтения.
stream
ts
stream: ReadableStream<Uint8Array<ArrayBufferLike>>;Defined in: core/attachments.ts:42