Remove function from BotApi struct Co-authored-by: Syfaro <syfaro@huefox.com>
Erik Pellizzon erikpellizzon1@gmail.com
Fri, 06 Nov 2020 11:25:32 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bot.go
→
bot.go
@@ -1072,7 +1072,7 @@ // Note that you don't have to include the formatting style in the input text, or it will be escaped too.
// // parseMode is the text formatting mode (ModeMarkdown, ModeMarkdownV2 or ModeHTML) // text is the input string that will be escaped -func (*BotAPI) EscapeText(parseMode string, text string) string { +func EscapeText(parseMode string, text string) string { var replacer *strings.Replacer if parseMode == ModeHTML {