首页 > 解决方案 > 错误请求:贴纸集名称无效

问题描述

尝试调用createNewStickerSet,但出现错误

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

参数:

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: = ""

我也尝试了 uploadStickerFile 方法,就像一个魅力。我究竟做错了什么?

标签: telegramtelegram-bot

解决方案


显然文档中存在故障,如https://github.com/tdlib/td/issues/466#issuecomment-456361390 贴纸集的名称必须以by_YourBotName


推荐阅读