BUSINESS_CONNECTION_NOT_ALLOWED
BUSINESS_CONNECTION_NOT_ALLOWED
Section titled “BUSINESS_CONNECTION_NOT_ALLOWED”This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we’re a user, and users cannot invoke methods over a business connection; (2) we’re a bot, but business mode was disabled in @botfather or (3); we’re a bot, but this method cannot be invoked over a business connection.
Error details
Section titled “Error details”- code: 400
- parameterized: no
- mapped methods:
account.acceptAuthorization,account.cancelPasswordEmail,account.changeAuthorizationSettings,account.changePhone,account.checkUsername,account.clearRecentEmojiStatuses,account.confirmBotConnection,account.confirmPasswordEmail,account.confirmPhone,account.createBusinessChatLink,account.createTheme,account.declinePasswordReset,account.deleteAutoSaveExceptions,account.deleteBusinessChatLink,account.deletePasskey,account.deleteSecureValue,account.deleteWebBrowserSettingsExceptions,account.disablePeerConnectedBot,account.editBusinessChatLink,account.finishTakeoutSession,account.getAccountTTL,account.getAllSecureValues,account.getAuthorizationForm,account.getAuthorizations,account.getAutoDownloadSettings,account.getAutoSaveSettings,account.getBotBusinessConnection,account.getBusinessChatLinks,account.getChannelDefaultEmojiStatuses,account.getChannelRestrictedStatusEmojis,account.getChatThemes,account.getCollectibleEmojiStatuses,account.getConnectedBots,account.getContactSignUpNotification,account.getContentSettings,account.getDefaultBackgroundEmojis,account.getDefaultEmojiStatuses,account.getDefaultGroupPhotoEmojis,account.getDefaultProfilePhotoEmojis,account.getGlobalPrivacySettings,account.getMultiWallPapers,account.getNotifyExceptions,account.getNotifySettings,account.getPaidMessagesRevenue,account.getPasskeys,account.getPassword,account.getPasswordSettings,account.getPrivacy,account.getReactionsNotifySettings,account.getRecentEmojiStatuses,account.getSavedMusicIds,account.getSavedRingtones,account.getSecureValue,account.getTheme,account.getThemes,account.getTmpPassword,account.getUniqueGiftChatThemes,account.getWallPaper,account.getWallPapers,account.getWebAuthorizations,account.getWebBrowserSettings,account.initPasskeyRegistration,account.initTakeoutSession,account.installTheme,account.installWallPaper,account.invalidateSignInCodes,account.registerDevice,account.registerPasskey,account.reorderUsernames,account.reportPeer,account.reportProfilePhoto,account.resendPasswordEmail,account.resetNotifySettings,account.resetWallPapers,account.resetWebAuthorization,account.resetWebAuthorizations,account.resolveBusinessChatLink,account.saveAutoDownloadSettings,account.saveAutoSaveSettings,account.saveMusic,account.saveRingtone,account.saveSecureValue,account.saveTheme,account.saveWallPaper,account.sendChangePhoneCode,account.sendConfirmPhoneCode,account.sendVerifyEmailCode,account.sendVerifyPhoneCode,account.setAccountTTL,account.setAuthorizationTTL,account.setContactSignUpNotification,account.setContentSettings,account.setGlobalPrivacySettings,account.setMainProfileTab,account.setPrivacy,account.setReactionsNotifySettings,account.toggleConnectedBotPaused,account.toggleNoPaidMessagesException,account.toggleSponsoredMessages,account.toggleUsername,account.toggleWebBrowserSettingsException,account.unregisterDevice,account.updateBirthday,account.updateBusinessAwayMessage,account.updateBusinessGreetingMessage,account.updateBusinessIntro,account.updateBusinessLocation,account.updateBusinessWorkHours,account.updateColor,account.updateConnectedBot,account.updateDeviceLocked,account.updateEmojiStatus,account.updateNotifySettings,account.updatePasswordSettings,account.updatePersonalChannel,account.updateProfile,account.updateStatus,account.updateTheme,account.updateWebBrowserSettings,account.uploadRingtone,account.uploadTheme,account.uploadWallPaper,account.verifyEmail,account.verifyPhone,aicompose.createTone,aicompose.deleteTone,aicompose.getTone,aicompose.getToneExample,aicompose.getTones,aicompose.saveTone,aicompose.updateTone,auth.acceptLoginToken,auth.bindTempAuthKey,auth.cancelCode,auth.checkPaidAuth,auth.checkPassword,auth.checkRecoveryPassword,auth.exportAuthorization,auth.exportLoginToken,auth.finishPasskeyLogin,auth.importAuthorization,auth.importBotAuthorization,auth.importLoginToken,auth.importWebTokenAuthorization,auth.initPasskeyLogin,auth.recoverPassword,auth.reportMissingCode,auth.requestFirebaseSms,auth.requestPasswordRecovery,auth.resendCode,auth.resetLoginEmail,auth.sendCode,auth.signIn,auth.signUp,bots.addPreviewMedia,bots.allowSendMessage,bots.answerWebhookJSONQuery,bots.canSendMessage,bots.checkDownloadFileParams,bots.checkUsername,bots.createBot,bots.deletePreviewMedia,bots.editAccessSettings,bots.editPreviewMedia,bots.exportBotToken,bots.getAccessSettings,bots.getAdminedBots,bots.getBotCommands,bots.getBotInfo,bots.getBotMenuButton,bots.getBotRecommendations,bots.getPopularAppBots,bots.getPreviewInfo,bots.getPreviewMedias,bots.getRequestedWebViewButton,bots.invokeWebViewCustomMethod,bots.reorderPreviewMedias,bots.reorderUsernames,bots.requestWebViewButton,bots.resetBotCommands,bots.sendCustomRequest,bots.setBotBroadcastDefaultAdminRights,bots.setBotCommands,bots.setBotGroupDefaultAdminRights,bots.setBotInfo,bots.setBotMenuButton,bots.setCustomVerification,bots.setJoinChatResults,bots.toggleUserEmojiStatusPermission,bots.toggleUsername,bots.updateStarRefProgram,bots.updateUserEmojiStatus,channels.checkSearchPostsFlood,channels.checkUsername,channels.convertToGigagroup,channels.createChannel,channels.createForumTopic(not in selected Layer 228 schema),channels.deactivateAllUsernames,channels.deleteChannel,channels.deleteHistory,channels.deleteMessages,channels.deleteParticipantHistory,channels.deleteTopicHistory(not in selected Layer 228 schema),channels.editAdmin,channels.editBanned,channels.editCreator(not in selected Layer 228 schema),channels.editForumTopic(not in selected Layer 228 schema),channels.editLocation,channels.editPhoto,channels.editTitle,channels.exportMessageLink,channels.getAdminLog,channels.getAdminedPublicChannels,channels.getChannelRecommendations,channels.getChannels,channels.getForumTopics(not in selected Layer 228 schema),channels.getForumTopicsByID(not in selected Layer 228 schema),channels.getFullChannel,channels.getFutureCreatorAfterLeave(not in selected Layer 228 schema),channels.getGroupsForDiscussion,channels.getInactiveChannels,channels.getLeftChannels,channels.getMessageAuthor,channels.getMessages,channels.getParticipant,channels.getParticipants,channels.getSendAs,channels.inviteToChannel,channels.joinChannel,channels.leaveChannel,channels.readHistory,channels.readMessageContents,channels.reorderPinnedForumTopics(not in selected Layer 228 schema),channels.reorderUsernames,channels.reportAntiSpamFalsePositive,channels.reportSpam,channels.restrictSponsoredMessages,channels.searchPosts,channels.setBoostsToUnblockRestrictions,channels.setDiscussionGroup,channels.setEmojiStickers,channels.setMainProfileTab,channels.setStickers,channels.toggleAntiSpam,channels.toggleAutotranslation,channels.toggleForum,channels.toggleJoinRequest,channels.toggleJoinToSend,channels.toggleParticipantsHidden,channels.togglePreHistoryHidden,channels.toggleSignatures,channels.toggleSlowMode,channels.toggleUsername,channels.toggleViewForumAsMessages,channels.updateColor,channels.updateEmojiStatus,channels.updatePaidMessagesPrice,channels.updatePinnedForumTopic(not in selected Layer 228 schema),channels.updateUsername,chatlists.checkChatlistInvite,chatlists.deleteExportedInvite,chatlists.editExportedInvite,chatlists.exportChatlistInvite,chatlists.getChatlistUpdates,chatlists.getExportedInvites,chatlists.getLeaveChatlistSuggestions,chatlists.hideChatlistUpdates,chatlists.joinChatlistInvite,chatlists.joinChatlistUpdates,chatlists.leaveChatlist,contacts.acceptContact,contacts.addContact,contacts.block,contacts.blockFromReplies,contacts.deleteByPhones,contacts.deleteContacts,contacts.editCloseFriends,contacts.exportContactToken,contacts.getBirthdays,contacts.getBlocked,contacts.getContactIDs,contacts.getContacts,contacts.getLocated,contacts.getSaved,contacts.getSponsoredPeers,contacts.getStatuses,contacts.getTopPeers,contacts.importContactToken,contacts.importContacts,contacts.resetSaved,contacts.resetTopPeerRating,contacts.resolvePhone,contacts.resolveUsername,contacts.search,contacts.setBlocked,contacts.toggleTopPeers,contacts.unblock,contacts.updateContactNote,folders.editPeerFolders,fragment.getCollectibleInfo,help.acceptTermsOfService,help.dismissSuggestion,help.editUserInfo,help.getAppConfig,help.getAppUpdate,help.getCdnConfig,help.getConfig,help.getCountriesList,help.getDeepLinkInfo,help.getInviteText,help.getNearestDc,help.getPassportConfig,help.getPeerColors,help.getPeerProfileColors,help.getPremiumPromo,help.getPromoData,help.getRecentMeUrls,help.getSupport,help.getSupportName,help.getTermsOfServiceUpdate,help.getTimezonesList,help.getUserInfo,help.hidePromoData,help.saveAppLog,help.setBotUpdatesStatus,langpack.getDifference,langpack.getLangPack,langpack.getLanguage,langpack.getLanguages,langpack.getStrings,messages.acceptEncryption,messages.acceptUrlAuth,messages.addChatUser,messages.addPollAnswer,messages.appendTodoList,messages.checkChatInvite,messages.checkHistoryImport,messages.checkHistoryImportPeer,messages.checkQuickReplyShortcut,messages.checkUrlAuthMatchCode,messages.clearAllDrafts,messages.clearRecentReactions,messages.clearRecentStickers,messages.clickSponsoredMessage,messages.composeMessageWithAI,messages.createChat,messages.createForumTopic,messages.declineUrlAuth,messages.deleteChat,messages.deleteChatUser,messages.deleteExportedChatInvite,messages.deleteFactCheck,messages.deleteHistory,messages.deleteMessages,messages.deleteParticipantReaction,messages.deleteParticipantReactions,messages.deletePhoneCallHistory,messages.deletePollAnswer,messages.deleteQuickReplyMessages,messages.deleteQuickReplyShortcut,messages.deleteRevokedExportedChatInvites,messages.deleteSavedHistory,messages.deleteScheduledMessages,messages.deleteTopicHistory,messages.discardEncryption,messages.editChatAbout,messages.editChatAdmin,messages.editChatCreator,messages.editChatDefaultBannedRights,messages.editChatParticipantRank,messages.editChatPhoto,messages.editChatTitle,messages.editExportedChatInvite,messages.editFactCheck,messages.editForumTopic,messages.editInlineBotMessage,messages.editMessage,messages.editQuickReplyShortcut,messages.exportChatInvite,messages.faveSticker,messages.forwardMessages,messages.getAdminsWithInvites,messages.getAllDrafts,messages.getAllStickers,messages.getArchivedStickers,messages.getAttachMenuBot,messages.getAttachMenuBots,messages.getAttachedStickers,messages.getAvailableEffects,messages.getAvailableReactions,messages.getBotApp,messages.getBotCallbackAnswer,messages.getChatInviteImporters,messages.getChats,messages.getCommonChats,messages.getCustomEmojiDocuments,messages.getDefaultHistoryTTL,messages.getDefaultTagReactions,messages.getDhConfig,messages.getDialogFilters,messages.getDialogUnreadMarks,messages.getDialogs,messages.getDiscussionMessage,messages.getDocumentByHash,messages.getEmojiGameInfo,messages.getEmojiGroups,messages.getEmojiKeywords,messages.getEmojiKeywordsDifference,messages.getEmojiKeywordsLanguages,messages.getEmojiProfilePhotoGroups,messages.getEmojiStatusGroups,messages.getEmojiStickerGroups,messages.getEmojiStickers,messages.getEmojiURL,messages.getExportedChatInvite,messages.getExportedChatInvites,messages.getExtendedMedia,messages.getFactCheck,messages.getFavedStickers,messages.getFeaturedEmojiStickers,messages.getFeaturedStickers,messages.getForumTopics,messages.getForumTopicsByID,messages.getFullChat,messages.getFutureChatCreatorAfterLeave,messages.getGameHighScores,messages.getHistory,messages.getInlineBotResults,messages.getInlineGameHighScores,messages.getMaskStickers,messages.getMessageEditData,messages.getMessageReactionsList,messages.getMessageReadParticipants,messages.getMessages,messages.getMessagesReactions,messages.getMessagesViews,messages.getMyStickers,messages.getOldFeaturedStickers,messages.getOnlines,messages.getOutboxReadDate,messages.getPaidReactionPrivacy,messages.getPeerDialogs,messages.getPeerSettings,messages.getPersonalChannelHistory,messages.getPinnedDialogs,messages.getPinnedSavedDialogs,messages.getPollResults,messages.getPollVotes,messages.getPreparedInlineMessage,messages.getQuickReplies,messages.getQuickReplyMessages,messages.getRecentLocations,messages.getRecentReactions,messages.getRecentStickers,messages.getReplies,messages.getRichMessage,messages.getSavedDialogs,messages.getSavedDialogsByID,messages.getSavedGifs,messages.getSavedHistory,messages.getSavedReactionTags,messages.getScheduledHistory,messages.getScheduledMessages,messages.getSearchCounters,messages.getSearchResultsCalendar,messages.getSearchResultsPositions,messages.getSplitRanges,messages.getSponsoredMessages,messages.getStickerSet,messages.getStickers,messages.getSuggestedDialogFilters,messages.getTopReactions,messages.getUnreadMentions,messages.getUnreadPollVotes,messages.getUnreadReactions,messages.getWebPage,messages.getWebPagePreview,messages.hideAllChatJoinRequests,messages.hideChatJoinRequest,messages.hidePeerSettingsBar,messages.importChatInvite,messages.initHistoryImport,messages.installStickerSet,messages.markDialogUnread,messages.migrateChat,messages.prolongWebView,messages.rateTranscribedAudio,messages.readDiscussion,messages.readEncryptedHistory,messages.readFeaturedStickers,messages.readHistory,messages.readMentions,messages.readMessageContents,messages.readPollVotes,messages.readReactions,messages.readSavedHistory,messages.receivedMessages,messages.receivedQueue,messages.reorderPinnedDialogs,messages.reorderPinnedForumTopics,messages.reorderPinnedSavedDialogs,messages.reorderQuickReplies,messages.reorderStickerSets,messages.report,messages.reportEncryptedSpam,messages.reportMessagesDelivery,messages.reportMusicListen,messages.reportReaction,messages.reportReadMetrics,messages.reportSpam,messages.reportSponsoredMessage,messages.requestAppWebView,messages.requestEncryption,messages.requestMainWebView,messages.requestSimpleWebView,messages.requestUrlAuth,messages.requestWebView,messages.saveDefaultSendAs,messages.saveDraft,messages.saveGif,messages.savePreparedInlineMessage,messages.saveRecentSticker,messages.search,messages.searchCustomEmoji,messages.searchEmojiStickerSets,messages.searchGlobal,messages.searchSentMedia,messages.searchStickerSets,messages.searchStickers,messages.sendBotRequestedPeer,messages.sendEncrypted,messages.sendEncryptedFile,messages.sendEncryptedService,messages.sendInlineBotResult,messages.sendMedia,messages.sendMessage,messages.sendMultiMedia,messages.sendPaidReaction,messages.sendQuickReplyMessages,messages.sendReaction,messages.sendScheduledMessages,messages.sendScreenshotNotification,messages.sendVote,messages.sendWebViewData,messages.sendWebViewResultMessage,messages.setBotCallbackAnswer,messages.setBotGuestChatResult,messages.setBotPrecheckoutResults,messages.setBotShippingResults,messages.setChatAvailableReactions,messages.setChatTheme,messages.setChatWallPaper,messages.setDefaultHistoryTTL,messages.setDefaultReaction,messages.setEncryptedTyping,messages.setGameScore,messages.setHistoryTTL,messages.setInlineBotResults,messages.setInlineGameScore,messages.setTyping,messages.startBot,messages.startHistoryImport,messages.summarizeText,messages.toggleBotInAttachMenu,messages.toggleDialogFilterTags,messages.toggleDialogPin,messages.toggleNoForwards,messages.togglePaidReactionPrivacy,messages.togglePeerTranslations,messages.toggleSavedDialogPin,messages.toggleStickerSets,messages.toggleSuggestedPostApproval,messages.toggleTodoCompleted,messages.transcribeAudio,messages.translateText,messages.uninstallStickerSet,messages.unpinAllMessages,messages.updateDialogFilter,messages.updateDialogFiltersOrder,messages.updatePinnedForumTopic,messages.updatePinnedMessage,messages.updateSavedReactionTag,messages.uploadEncryptedFile,messages.uploadImportedMedia,messages.uploadMedia,messages.viewSponsoredMessage,payments.applyGiftCode,payments.assignAppStoreTransaction,payments.assignPlayMarketTransaction,payments.botCancelStarsSubscription,payments.canPurchaseStore,payments.changeStarsSubscription,payments.checkCanSendGift,payments.checkGiftCode,payments.clearSavedInfo,payments.connectStarRefBot,payments.convertStarGift,payments.craftStarGift,payments.createStarGiftCollection,payments.deleteStarGiftCollection,payments.editConnectedStarRefBot,payments.exportInvoice,payments.fulfillStarsSubscription,payments.getBankCardData,payments.getConnectedStarRefBot,payments.getConnectedStarRefBots,payments.getCraftStarGifts,payments.getGiveawayInfo,payments.getPaymentForm,payments.getPaymentReceipt,payments.getPremiumGiftCodeOptions,payments.getResaleStarGifts,payments.getSavedInfo,payments.getSavedStarGift,payments.getSavedStarGifts,payments.getStarGiftActiveAuctions,payments.getStarGiftAuctionAcquiredGifts,payments.getStarGiftAuctionState,payments.getStarGiftCollections,payments.getStarGiftUpgradeAttributes,payments.getStarGiftUpgradePreview,payments.getStarGiftWithdrawalUrl,payments.getStarGifts,payments.getStarsGiftOptions,payments.getStarsGiveawayOptions,payments.getStarsRevenueAdsAccountUrl,payments.getStarsRevenueStats,payments.getStarsRevenueWithdrawalUrl,payments.getStarsStatus,payments.getStarsSubscriptions,payments.getStarsTopupOptions,payments.getStarsTransactions,payments.getStarsTransactionsByID,payments.getSuggestedStarRefBots,payments.getUniqueStarGift,payments.getUniqueStarGiftValueInfo,payments.launchPrepaidGiveaway,payments.refundStarsCharge,payments.reorderStarGiftCollections,payments.saveStarGift,payments.sendPaymentForm,payments.sendStarGiftOffer,payments.sendStarsForm,payments.toggleChatStarGiftNotifications,payments.toggleStarGiftsPinnedToTop,payments.transferStarGift,payments.updateStarGiftCollection,payments.updateStarGiftPrice,payments.upgradeStarGift,payments.validateRequestedInfo,phone.acceptCall,phone.checkGroupCall,phone.confirmCall,phone.createConferenceCall,phone.createGroupCall,phone.declineConferenceCallInvite,phone.deleteConferenceCallParticipants,phone.deleteGroupCallMessages,phone.deleteGroupCallParticipantMessages,phone.discardCall,phone.discardGroupCall,phone.editGroupCallParticipant,phone.editGroupCallTitle,phone.exportGroupCallInvite,phone.getCallConfig,phone.getGroupCall,phone.getGroupCallChainBlocks,phone.getGroupCallJoinAs,phone.getGroupCallStars,phone.getGroupCallStreamChannels,phone.getGroupCallStreamRtmpUrl,phone.getGroupParticipants,phone.inviteConferenceCallParticipant,phone.inviteToGroupCall,phone.joinGroupCall,phone.joinGroupCallPresentation,phone.leaveGroupCall,phone.leaveGroupCallPresentation,phone.receivedCall,phone.requestCall,phone.saveCallDebug,phone.saveCallLog,phone.saveDefaultGroupCallJoinAs,phone.saveDefaultSendAs,phone.sendConferenceCallBroadcast,phone.sendGroupCallEncryptedMessage,phone.sendGroupCallMessage,phone.sendSignalingData,phone.setCallRating,phone.startScheduledGroupCall,phone.toggleGroupCallRecord,phone.toggleGroupCallSettings,phone.toggleGroupCallStartSubscription,photos.deletePhotos,photos.getUserPhotos,photos.uploadContactProfilePhoto,premium.applyBoost,premium.getBoostsList,premium.getBoostsStatus,premium.getMyBoosts,premium.getUserBoosts,smsjobs.finishJob,smsjobs.getSmsJob,smsjobs.getStatus,smsjobs.isEligibleToJoin,smsjobs.join,smsjobs.leave,smsjobs.updateSettings,stats.getBroadcastStats,stats.getMegagroupStats,stats.getMessagePublicForwards,stats.getMessageStats,stats.getPollStats,stats.getStoryPublicForwards,stats.getStoryStats,stats.loadAsyncGraph,stickers.addStickerToSet,stickers.changeSticker,stickers.changeStickerPosition,stickers.checkShortName,stickers.createStickerSet,stickers.deleteStickerSet,stickers.removeStickerFromSet,stickers.renameStickerSet,stickers.replaceSticker,stickers.setStickerSetThumb,stickers.suggestShortName,stories.activateStealthMode,stories.canSendStory,stories.createAlbum,stories.deleteAlbum,stories.deleteStories,stories.editStory,stories.exportStoryLink,stories.getAlbumStories,stories.getAlbums,stories.getAllReadPeerStories,stories.getAllStories,stories.getChatsToSend,stories.getPeerMaxIDs,stories.getPeerStories,stories.getPinnedStories,stories.getStoriesArchive,stories.getStoriesByID,stories.getStoriesViews,stories.getStoryReactionsList,stories.getStoryViewsList,stories.incrementStoryViews,stories.readStories,stories.reorderAlbums,stories.report,stories.searchPosts,stories.sendReaction,stories.sendStory,stories.startLive,stories.toggleAllStoriesHidden,stories.togglePeerStoriesHidden,stories.togglePinned,stories.togglePinnedToTop,stories.updateAlbum,updates.getChannelDifference,updates.getDifference,updates.getState,upload.getCdnFile,upload.getCdnFileHashes,upload.getFile,upload.getFileHashes,upload.getWebFile,upload.reuploadCdnFile,upload.saveBigFilePart,upload.saveFilePart,users.getFullUser,users.getRequirementsToContact,users.getSavedMusic,users.getSavedMusicByID,users.getUsers,users.setSecureValueErrors,users.suggestBirthday
Python error class
Section titled “Python error class”from miniproto.errors import BusinessConnectionNotAllowedPublic access: miniproto.errors.BusinessConnectionNotAllowed.
Provenance
Section titled “Provenance”- layer: 228
- structural source:
tdlib - RPC error source: https://core.telegram.org/api/errors
- prose merge precedence: TDLib → Telegram Desktop → Core JSON
- source note: Canonical structure is the pinned TDLib telegram_api.tl; Layer 228 comes only from the matching Telegram Desktop end-of-file marker; core.telegram.org inputs enrich documentation and RPC error metadata without overriding structure.
Source-diff notes
Section titled “Source-diff notes”- tdlib_vs_core: changed_count=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
- tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery