all repos — telegram-bot-api @ a0a678302e8953531aa87a6a7e97a395c8954ada

Golang bindings for the Telegram Bot API

fix uploads by URL and fileId, should be the same as in createNewStickerSet
Denis Orlikhin qbikk@ya.ru
Wed, 28 Nov 2018 19:06:56 +0300
commit

a0a678302e8953531aa87a6a7e97a395c8954ada

parent

5781187bc20cbb9910ba867eafe318479be119b6

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M configs.goconfigs.go

@@ -1417,7 +1417,9 @@ return config.PNGSticker

} func (config AddStickerConfig) useExistingFile() bool { - return false + _, ok := config.PNGSticker.(string) + + return ok } // SetStickerPositionConfig allows you to change the position of a sticker in a set.