aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2026-06-24 21:45:01 +0300
committerlevlam <levlam@telegram.org>2026-06-24 21:45:01 +0300
commitbdf992bd5ad7eefdfea8e235baa2c34582d2a6b5 (patch)
tree0170ace12e883ffd74bc9b51b0783902354f2a8a
parent3b5dfdc595f162dffb662363730d5b6d33dd7dfc (diff)
Improve createBot documentation.
-rw-r--r--td/generate/scheme/td_api.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl
index afde101a5..54d9798d7 100644
--- a/td/generate/scheme/td_api.tl
+++ b/td/generate/scheme/td_api.tl
@@ -14675,7 +14675,7 @@ deleteBotMediaPreviews bot_user_id:int53 language_code:string file_ids:vector<in
checkBotUsername username:string = CheckChatUsernameResult;
//@description Creates a bot which will be managed by another bot. Returns the created bot. May return an error with a message "BOT_CREATE_LIMIT_EXCEEDED"
-//-if the user already owns the maximum allowed number of bots as per premiumLimitTypeOwnedBotCount. An internal link "https://t.me/BotFather?start=deletebot" can be processed to handle the error
+//-if the user already owns the maximum allowed number of bots as per getOption("owned_bot_count_max"). An internal link "https://t.me/BotFather?start=deletebot" can be processed to handle the error
//@manager_bot_user_id Identifier of the bot that will manage the created bot
//@name Name of the bot; 1-64 characters
//@username Username of the bot. The username must end with "bot". Use checkBotUsername to find whether the name is suitable