Skip to content

Commit 41e8597

Browse files
ErikPelliSyfaro
andauthored
Remove function from BotApi struct
Co-authored-by: Syfaro <[email protected]>
1 parent 85ecb11 commit 41e8597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ func (bot *BotAPI) SetMyCommands(commands []BotCommand) error {
10721072
//
10731073
// parseMode is the text formatting mode (ModeMarkdown, ModeMarkdownV2 or ModeHTML)
10741074
// text is the input string that will be escaped
1075-
func (*BotAPI) EscapeText(parseMode string, text string) string {
1075+
func EscapeText(parseMode string, text string) string {
10761076
var replacer *strings.Replacer
10771077

10781078
if parseMode == ModeHTML {

0 commit comments

Comments
 (0)