diff options
Diffstat (limited to 'src/types/IChatMessageOptions.ts')
-rw-r--r-- | src/types/IChatMessageOptions.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/types/IChatMessageOptions.ts b/src/types/IChatMessageOptions.ts index 08ce1b3..3861044 100644 --- a/src/types/IChatMessageOptions.ts +++ b/src/types/IChatMessageOptions.ts @@ -46,4 +46,15 @@ export interface IChatMessageOptions { * mention(s) is/are will be discarded. */ mentions?: UserMention[]; + + /** + * Whether the text of the message should be treated + * as Markdown or not. + * + * When this is enabled, the text will go through a + * Markdown parser and the contents of `formatting` + * will be replaced by the result of the Markdown + * parser. + */ + markdown?: boolean; }
\ No newline at end of file |