@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
17 lines (16 loc) • 501 B
TypeScript
import type { MessageActionType } from './MessageActionType';
import type { MessageProcessingType } from './MessageProcessingType';
/**
* Interface which represents an action which can be added to a message.
*/
export interface IMessageAction {
type: MessageActionType;
text?: string;
url?: string;
image_url?: string;
is_webview?: boolean;
webview_height_ratio?: string;
msg?: string;
msg_in_chat_window?: boolean;
msg_processing_type?: MessageProcessingType;
}