USER_ID_INVALID
USER_ID_INVALID
Section titled “USER_ID_INVALID”The provided user ID is invalid.
Error details
Section titled “Error details”- code: 400
- parameterized: no
- mapped methods:
account.addNoPaidMessagesException(not in selected Layer 228 schema),account.getPaidMessagesRevenue,account.toggleNoPaidMessagesException,auth.importAuthorization,bots.requestWebViewButton,bots.setBotCommands,bots.updateUserEmojiStatus,channels.deleteUserHistory(not in selected Layer 228 schema),channels.editAdmin,channels.editBanned,channels.editCreator(not in selected Layer 228 schema),channels.getParticipant,channels.inviteToChannel,channels.reportSpam,messages.addChatUser,messages.deleteChatUser,messages.editChatAdmin,messages.getCommonChats,messages.getPersonalChannelHistory,messages.hideChatJoinRequest,messages.reportReaction,messages.requestEncryption,messages.savePreparedInlineMessage,messages.search,payments.botCancelStarsSubscription,payments.canPurchasePremium(not in selected Layer 228 schema),payments.convertStarGift,payments.getStarsGiftOptions,payments.getUserStarGifts(not in selected Layer 228 schema),payments.refundStarsCharge,payments.saveStarGift,payments.sendStarsForm,phone.editGroupCallParticipant,phone.requestCall,photos.getUserPhotos,photos.uploadContactProfilePhoto,stickers.createStickerSet,stories.getPinnedStories,stories.getUserStories(not in selected Layer 228 schema),users.getFullUser,users.getSavedMusic,users.getSavedMusicByID,users.setSecureValueErrors,users.suggestBirthday
Python error class
Section titled “Python error class”from miniproto.errors import UserIdInvalidPublic access: miniproto.errors.UserIdInvalid.
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