botframework-webchat-component
Version:
React component of botframework-webchat
11 lines (8 loc) • 309 B
text/typescript
import { WebChatActivity } from 'botframework-webchat-core';
import { type TypeOfArray } from '../../../types/internal/TypeOfArray';
export type WebChatAttachment = TypeOfArray<
Exclude<(WebChatActivity & { type: 'message' })['attachments'], undefined>
> & {
content?: string;
contentType: string;
};