Variable buildMentionAllConst
buildMentionAll: (
participants: (string | { id?: string })[],
text?: string,
options?: { listMentions?: boolean; separator?: string },
) => { mentions: string[]; text: string }
Type Declaration
-
- (
participants: (string | { id?: string })[],
text?: string,
options?: { listMentions?: boolean; separator?: string },
): { mentions: string[]; text: string }
-
Parameters
- participants: (string | { id?: string })[]
Optionaltext: string
Optionaloptions: { listMentions?: boolean; separator?: string }
Returns { mentions: string[]; text: string }
Build a tag-all content ({ text, mentions }) from a participant list.