Skip to content

Documentation / @agentick/connector-telegram / escapeMarkdownV2

Function: escapeMarkdownV2()

escapeMarkdownV2(text): string

Defined in: telegram-format.ts:12

Escape text for Telegram MarkdownV2 parse mode.

All special characters are prefixed with a backslash.

Parameters

text

string

Returns

string

Released under the ISC License.