USER_BOT_REQUIRED
This method can only be called by a bot.
Error details
Section titled “Error details”- code: 400
- parameterized: no
- mapped 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
Python error class
Section titled “Python error class”from miniproto.errors import UserBotRequiredPublic access: miniproto.errors.UserBotRequired.