TwurpleAuthenticationGetting dataExamplesFAQMigration

extractMessageText

Definition

extractMessageText(message)

Extracts the text to show from a message parameter.

ParameterTypeRequiredDefaultDescription
messagestringnone

The message parameter to extract the text from.

You would usually get this using msg.params.message on a message object.

Return type: string