Skip to main content

Function: extractText()

extractText(message?): string

Defined in: util/content.ts:26

Extracts the readable text from a message, covering the common cases: plain text, extended text (links/mentions), image/video/document captions and button/list responses.

Parameters

message?

IMessage | null

Returns

string