{"total":5,"results":[{"code":400,"name":"USER_BOT","methods":["channels.inviteToChannel"],"description":"Bots can only be admins in channels."},{"code":400,"name":"USER_BOT_INVALID","methods":["bots.getBotInfo","bots.setBotInfo"],"description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."},{"code":400,"name":"USER_BOT_REQUIRED","methods":["bots.answerWebhookJSONQuery","bots.editAccessSettings","bots.exportBotToken","bots.getAccessSettings","bots.getBotCommands","bots.getBotMenuButton","bots.requestWebViewButton","bots.resetBotCommands","bots.sendCustomRequest","bots.setBotBroadcastDefaultAdminRights","bots.setBotCommands","bots.setBotGroupDefaultAdminRights","bots.setBotMenuButton","bots.setJoinChatResults","bots.updateUserEmojiStatus","help.setBotUpdatesStatus","messages.getGameHighScores","messages.getInlineGameHighScores","messages.getPersonalChannelHistory","messages.savePreparedInlineMessage","messages.sendWebViewResultMessage","messages.setBotCallbackAnswer","messages.setBotGuestChatResult","messages.setBotPrecheckoutResults","messages.setBotShippingResults","messages.setGameScore","messages.setInlineBotResults","messages.setInlineGameScore","payments.exportInvoice","payments.refundStarsCharge","users.setSecureValueErrors"],"description":"This method can only be called by a bot."},{"code":400,"name":"USER_BOT_TO_BOT_DISABLED","methods":["messages.forwardMessages","messages.sendMedia","messages.sendMessage"],"description":"Bot-to-bot messaging is disabled because one of the two bots hasn't enabled the Bot to Bot setting in @BotFather."},{"code":403,"name":"USER_BOT_INVALID","methods":["messages.setBotGuestChatResult","messages.setInlineBotResults"],"description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."}],"layer":227}