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

This commit is contained in:
Denis Orlikhin 2018-11-28 19:06:56 +03:00
parent 5781187bc2
commit a0a678302e

View file

@ -1417,7 +1417,9 @@ func (config AddStickerConfig) getFile() interface{} {
}
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.