fix uploads by URL and fileId, should be the same as in createNewStickerSet
parent
5781187bc2
commit
a0a678302e
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue