Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bad Request: sticker set name invalid

Trying to call createNewStickerSet, but getting an error

error_code=400, description='Bad Request: sticker set name invalid'

params:

user_id = 1111,
name = "what_den_things",
title = "What Denis thinks",
png_sticker = "BQADAgADxQIAAsQQMUqjvj3PCWFVMwI", // I tried url, file,  file_id here, seems it has nothing to do with the problem
emoji: = "👍"

I tried also uploadStickerFile method, works like a charm. What am I doing wrong?

like image 402
Defuera Avatar asked Oct 26 '25 11:10

Defuera


1 Answers

Apparently there was a glitch in documentation, as by https://github.com/tdlib/td/issues/466#issuecomment-456361390 name of the sticker set must end with by_YourBotName

like image 197
Defuera Avatar answered Oct 29 '25 06:10

Defuera