escape

Contains function that escape stuff

Source:

Methods

(static) markdown(string) → {string}

Escapes Telegram's Markdown entries by placing backslashes in front of each '_`[' -> '\_`[' 'bold!' -> '*not bold.*'

Parameters:
Name Type Description
string string

Unescaped string that might contain Markdown

Source:
Returns:

Escaped string

Type
string