fix uploads by URL and fileId for UploadStickerConfig too, should be the same as in createNewStickerSet
This commit is contained in:
parent
a0a678302e
commit
5d997a78c8
1 changed files with 3 additions and 1 deletions
|
@ -1327,7 +1327,9 @@ func (config UploadStickerConfig) getFile() interface{} {
|
|||
}
|
||||
|
||||
func (config UploadStickerConfig) useExistingFile() bool {
|
||||
return false
|
||||
_, ok := config.PNGSticker.(string)
|
||||
|
||||
return ok
|
||||
}
|
||||
|
||||
// NewStickerSetConfig allows creating a new sticker set.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue