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 |
Returns:
Escaped string
- Type
- string