fix uploads by URL and fileId for UploadStickerConfig too, should be the same as in createNewStickerSet
parent
a0a678302e
commit
5d997a78c8
|
@ -1327,7 +1327,9 @@ func (config UploadStickerConfig) getFile() interface{} {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config UploadStickerConfig) useExistingFile() bool {
|
func (config UploadStickerConfig) useExistingFile() bool {
|
||||||
return false
|
_, ok := config.PNGSticker.(string)
|
||||||
|
|
||||||
|
return ok
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewStickerSetConfig allows creating a new sticker set.
|
// NewStickerSetConfig allows creating a new sticker set.
|
||||||
|
|
Loading…
Reference in New Issue