CHAT_ADMIN_REQUIRED
CHAT_ADMIN_REQUIRED
Section titled “CHAT_ADMIN_REQUIRED”You must be an admin in this chat to do this.
Error details
Section titled “Error details”- code: 400
- parameterized: no
- mapped methods:
channels.convertToGigagroup,channels.deleteChannel,channels.deleteHistory,channels.deleteMessages,channels.deleteParticipantHistory,channels.deleteUserHistory(not in selected Layer 228 schema),channels.editAbout(not in selected Layer 228 schema),channels.editAdmin,channels.editBanned,channels.editCreator(not in selected Layer 228 schema),channels.editLocation,channels.editPhoto,channels.editTitle,channels.exportInvite(not in selected Layer 228 schema),channels.getAdminLog,channels.getParticipant,channels.getParticipants,channels.inviteToChannel,channels.reportSpam,channels.setDiscussionGroup,channels.toggleForum,channels.toggleInvites(not in selected Layer 228 schema),channels.toggleJoinRequest,channels.toggleJoinToSend,channels.toggleParticipantsHidden,channels.togglePreHistoryHidden,channels.toggleSignatures,channels.toggleSlowMode,channels.toggleUsername,channels.updatePinnedMessage(not in selected Layer 228 schema),channels.updateUsername,chatlists.exportChatlistInvite,messages.addChatUser,messages.checkHistoryImportPeer,messages.deleteChat,messages.deleteChatUser,messages.deleteExportedChatInvite,messages.deleteHistory,messages.editChatAbout,messages.editChatCreator,messages.editChatDefaultBannedRights,messages.editChatTitle,messages.editExportedChatInvite,messages.editMessage,messages.exportChatInvite,messages.forwardMessages,messages.getAdminsWithInvites,messages.getChatInviteImporters,messages.getExportedChatInvite,messages.getExportedChatInvites,messages.getMessageEditData,messages.getSavedHistory,messages.getScheduledHistory,messages.getScheduledMessages,messages.hideAllChatJoinRequests,messages.hideChatJoinRequest,messages.initHistoryImport,messages.migrateChat,messages.readSavedHistory,messages.saveDraft,messages.search,messages.sendInlineBotResult,messages.sendMedia,messages.sendMessage,messages.sendMultiMedia,messages.setChatAvailableReactions,messages.setHistoryTTL,messages.setTyping,messages.startBot,messages.startHistoryImport,messages.toggleNoForwards,messages.unpinAllMessages,messages.updatePinnedMessage,messages.uploadImportedMedia,messages.uploadMedia,payments.getStarsTransactions,phone.createGroupCall,phone.getGroupCallStreamRtmpUrl,phone.joinGroupCall,premium.getBoostsList,stats.getBroadcastRevenueStats(not in selected Layer 228 schema),stats.getBroadcastStats,stats.getMegagroupStats,stats.getMessagePublicForwards,stats.getMessageStats,stories.canSendStory,stories.getBoostersList(not in selected Layer 228 schema),stories.getStoriesArchive,stories.sendStory,stories.startLive
Python error class
Section titled “Python error class”from miniproto.errors import ChatAdminRequiredPublic access: miniproto.errors.ChatAdminRequired.
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