fix uploads by URL and fileId for UploadStickerConfig too, should be the same as in createNewStickerSet
Denis Orlikhin qbikk@ya.ru
Thu, 06 Dec 2018 14:32:25 +0300
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
configs.go
→
configs.go
@@ -1327,7 +1327,9 @@ return config.PNGSticker
} func (config UploadStickerConfig) useExistingFile() bool { - return false + _, ok := config.PNGSticker.(string) + + return ok } // NewStickerSetConfig allows creating a new sticker set.