fix uploads by URL and fileId, should be the same as in createNewStickerSet

bot-api-6.1
Denis Orlikhin 2018-11-28 19:06:56 +03:00
parent 5781187bc2
commit a0a678302e
1 changed files with 3 additions and 1 deletions

View File

@ -1417,7 +1417,9 @@ func (config AddStickerConfig) getFile() interface{} {
} }
func (config AddStickerConfig) useExistingFile() bool { 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. // SetStickerPositionConfig allows you to change the position of a sticker in a set.