We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e8597 commit 7d4ae71Copy full SHA for 7d4ae71
bot.go
@@ -1069,6 +1069,7 @@ func (bot *BotAPI) SetMyCommands(commands []BotCommand) error {
1069
// EscapeText takes an input text and escape Telegram markup symbols.
1070
// In this way we can send a text without being afraid of having to escape the characters manually.
1071
// Note that you don't have to include the formatting style in the input text, or it will be escaped too.
1072
+// If there is an error, an empty string will be returned.
1073
//
1074
// parseMode is the text formatting mode (ModeMarkdown, ModeMarkdownV2 or ModeHTML)
1075
// text is the input string that will be escaped
0 commit comments