The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/definition/IMessage/MessageAttachment/MessageAttachmentDefault.ts

27 lines
575 B

import { FieldProps } from './FieldProps';
import { Dimensions } from './Files/Dimensions';
import { MessageAttachmentBase } from './MessageAttachmentBase';
export type MarkdownFields = 'text' | 'pretext' | 'fields';
export type MessageAttachmentDefault = {
author_icon?: string;
author_link?: string;
author_name?: string;
fields?: FieldProps[];
// footer
// footer_icon
image_url?: string;
image_dimensions?: Dimensions;
mrkdwn_in?: Array<MarkdownFields>;
pretext?: string;
text?: string;
thumb_url?: string;
color?: string;
} & MessageAttachmentBase;