diff --git a/.changeset/cyan-pots-care.md b/.changeset/cyan-pots-care.md new file mode 100644 index 0000000000..3120ee4a2c --- /dev/null +++ b/.changeset/cyan-pots-care.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/message-parser": patch +--- + +Added ChannelMention in the markup inside message-parser diff --git a/packages/message-parser/src/definitions.ts b/packages/message-parser/src/definitions.ts index 1c4d154d48..953691ec9f 100644 --- a/packages/message-parser/src/definitions.ts +++ b/packages/message-parser/src/definitions.ts @@ -83,7 +83,7 @@ export type Quote = { value: Paragraph[]; }; -export type Markup = Italic | Strike | Bold | Plain; +export type Markup = Italic | Strike | Bold | Plain | ChannelMention; export type MarkupExcluding = Exclude; export type Bold = {