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

pull/210/head
Denis Orlikhin 7 years ago
parent 5781187bc2
commit a0a678302e
  1. 4
      configs.go

@ -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.