Skip to content

bots.setCustomVerification

No description provided by the pinned schema.

bots.setCustomVerification#8b89dfbd flags:# enabled:flags.1?true bot:flags.0?InputUser peer:InputPeer custom_description:flags.2?string = Bool;

Bool

NameTypeFlagDefaultDescription
flags#flag wordNo description provided by the pinned schema.
enabledflags.1?trueflags.1No description provided by the pinned schema.
botflags.0?InputUserflags.0No description provided by the pinned schema.
peerInputPeerNo description provided by the pinned schema.
custom_descriptionflags.2?stringflags.2No description provided by the pinned schema.
ParameterBitMeaning
enabled1Controlled by flags; present when this bit is set.
bot0Controlled by flags; present when this bit is set.
custom_description2Controlled by flags; present when this bit is set.
from miniproto.raw.functions import BotsSetCustomVerification

Public access: miniproto.raw.functions.BotsSetCustomVerification.

from miniproto.raw.functions import BotsSetCustomVerification
# Naming the raw request class is local only; it performs no I/O or network request.
request_type = BotsSetCustomVerification

Bool

CodeErrorDescription
400BOT_INVALIDThis is not a valid bot.
400BUSINESS_CONNECTION_NOT_ALLOWEDThis 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.
400PEER_ID_INVALIDThe provided peer id is invalid.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403BOT_VERIFIER_FORBIDDENThis bot cannot assign verification icons.

InputPeer, InputUser Known selected constructors: inputPeerChannel, inputPeerChannelFromMessage, inputPeerChat, inputPeerEmpty, inputPeerSelf, inputPeerUser, inputPeerUserFromMessage, inputUser, inputUserEmpty, inputUserFromMessage, inputUserSelf

Bool Known selected constructors: boolFalse, boolTrue

account.acceptAuthorization, account.cancelPasswordEmail, account.changeAuthorizationSettings, account.checkUsername, account.clearRecentEmojiStatuses, account.confirmBotConnection, account.confirmPasswordEmail, account.confirmPhone, account.declinePasswordReset, account.deleteAccount, account.deleteAutoSaveExceptions, account.deleteBusinessChatLink, account.deletePasskey, account.deleteSecureValue, account.disablePeerConnectedBot, account.finishTakeoutSession, account.getContactSignUpNotification, account.getPaidMessagesRevenue, account.installTheme, account.installWallPaper, account.invalidateSignInCodes, account.registerDevice, account.reorderUsernames, account.reportPeer, account.reportProfilePhoto, account.resendPasswordEmail, account.resetAuthorization, account.resetNotifySettings, account.resetWallPapers, account.resetWebAuthorization, account.resetWebAuthorizations, account.saveAutoDownloadSettings, account.saveAutoSaveSettings, account.saveMusic, account.saveRingtone, account.saveTheme, account.saveWallPaper, account.setAccountTTL, account.setAuthorizationTTL, account.setContactSignUpNotification, account.setContentSettings, account.setMainProfileTab, 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.updateStatus, account.verifyPhone, aicompose.deleteTone, aicompose.saveTone, aicompose.updateTone, auth.bindTempAuthKey, auth.cancelCode, auth.checkRecoveryPassword, auth.dropTempAuthKeys, auth.reportMissingCode, auth.requestFirebaseSms, auth.resetAuthorizations, 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.getBotInfo, bots.getBotMenuButton, bots.getBotRecommendations, bots.getPreviewInfo, bots.getPreviewMedias, bots.getRequestedWebViewButton, bots.invokeWebViewCustomMethod, bots.reorderPreviewMedias, bots.reorderUsernames, bots.requestWebViewButton, bots.resetBotCommands, bots.setBotBroadcastDefaultAdminRights, bots.setBotCommands, bots.setBotGroupDefaultAdminRights, bots.setBotInfo, bots.setBotMenuButton, bots.setJoinChatResults, bots.toggleUserEmojiStatusPermission, bots.toggleUsername, bots.updateStarRefProgram, bots.updateUserEmojiStatus, channels.checkUsername, channels.deactivateAllUsernames, channels.deleteParticipantHistory, channels.editAdmin, channels.editBanned, channels.editLocation, channels.getAdminLog, channels.getParticipant, channels.getSendAs, channels.inviteToChannel, channels.readHistory, channels.readMessageContents, channels.reorderUsernames, channels.reportAntiSpamFalsePositive, channels.reportSpam, channels.restrictSponsoredMessages, channels.searchPosts, channels.setDiscussionGroup, channels.setEmojiStickers, channels.setMainProfileTab, channels.setStickers, channels.toggleAntiSpam, channels.toggleAutotranslation, channels.toggleForum, channels.toggleJoinRequest, channels.toggleJoinToSend, channels.toggleParticipantsHidden, channels.togglePreHistoryHidden, channels.toggleUsername, channels.toggleViewForumAsMessages, channels.updateUsername, chatlists.deleteExportedInvite, chatlists.editExportedInvite, chatlists.exportChatlistInvite, chatlists.hideChatlistUpdates, chatlists.joinChatlistInvite, chatlists.joinChatlistUpdates, chatlists.leaveChatlist, communities.create, communities.getParticipantJoinedChats, communities.toggleAllPeerLinkRequestApproval, communities.toggleParticipantBanned, communities.togglePeerLink, communities.togglePeerLinkRequestApproval, contacts.acceptContact, contacts.addContact, contacts.block, contacts.deleteByPhones, contacts.deleteContacts, contacts.editCloseFriends, contacts.resetSaved, contacts.resetTopPeerRating, contacts.setBlocked, contacts.toggleTopPeers, contacts.unblock, contacts.updateContactNote, ephemeral.deleteMessage, ephemeral.editMessage, ephemeral.getCallbackAnswer, ephemeral.reportMessage, ephemeral.sendMessage, help.acceptTermsOfService, help.dismissSuggestion, help.editUserInfo, help.getUserInfo, help.hidePromoData, help.saveAppLog, help.setBotUpdatesStatus, messages.acceptUrlAuth, messages.addChatUser, messages.addPollAnswer, messages.appendTodoList, messages.checkHistoryImportPeer, messages.checkQuickReplyShortcut, messages.checkUrlAuthMatchCode, messages.clearAllDrafts, messages.clearRecentReactions, messages.clearRecentStickers, messages.clickSponsoredMessage, messages.createChat, messages.createForumTopic, messages.declineUrlAuth, messages.deleteChat, messages.deleteChatUser, messages.deleteExportedChatInvite, messages.deleteFactCheck, messages.deleteHistory, messages.deleteParticipantReaction, messages.deleteParticipantReactions, messages.deletePollAnswer, messages.deleteQuickReplyShortcut, messages.deleteRevokedExportedChatInvites, messages.deleteSavedHistory, messages.deleteScheduledMessages, messages.deleteTopicHistory, messages.discardEncryption, messages.editChatAbout, messages.editChatAdmin, messages.editChatCreator, messages.editChatDefaultBannedRights, messages.editChatParticipantRank, messages.editExportedChatInvite, messages.editFactCheck, messages.editForumTopic, messages.editInlineBotMessage, messages.editMessage, messages.editQuickReplyShortcut, messages.exportChatInvite, messages.faveSticker, messages.forwardMessages, messages.getAdminsWithInvites, messages.getAttachMenuBot, messages.getBotCallbackAnswer, messages.getChatInviteImporters, messages.getCommonChats, messages.getDialogUnreadMarks, messages.getDialogs, messages.getDiscussionMessage, messages.getExportedChatInvite, messages.getExportedChatInvites, messages.getExtendedMedia, messages.getFactCheck, messages.getForumTopics, messages.getForumTopicsByID, messages.getFutureChatCreatorAfterLeave, messages.getGameHighScores, messages.getHistory, messages.getInlineBotResults, messages.getInlineGameHighScores, messages.getMessageEditData, messages.getMessageReactionsList, messages.getMessageReadParticipants, messages.getMessagesReactions, messages.getMessagesViews, messages.getOnlines, messages.getOutboxReadDate, messages.getPeerSettings, messages.getPersonalChannelHistory, messages.getPollResults, messages.getPollVotes, messages.getPreparedInlineMessage, messages.getRecentLocations, messages.getReplies, messages.getRichMessage, messages.getSavedDialogs, messages.getSavedDialogsByID, messages.getSavedHistory, messages.getSavedReactionTags, messages.getScheduledHistory, messages.getScheduledMessages, messages.getSearchCounters, messages.getSearchResultsCalendar, messages.getSearchResultsPositions, messages.getSponsoredMessages, messages.getUnreadMentions, messages.getUnreadPollVotes, messages.getUnreadReactions, messages.hideAllChatJoinRequests, messages.hideChatJoinRequest, messages.hidePeerSettingsBar, messages.initHistoryImport, messages.installStickerSet, messages.markDialogUnread, messages.prolongWebView, messages.rateTranscribedAudio, messages.readDiscussion, messages.readEncryptedHistory, messages.readFeaturedStickers, messages.readHistory, messages.readMentions, messages.readPollVotes, messages.readReactions, messages.readSavedHistory, 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.requestAppWebView, messages.requestEncryption, messages.requestMainWebView, messages.requestSimpleWebView, messages.requestUrlAuth, messages.requestWebView, messages.saveDefaultSendAs, messages.saveDraft, messages.saveGif, messages.savePreparedInlineMessage, messages.saveRecentSticker, messages.search, messages.searchGlobal, messages.sendBotRequestedPeer, messages.sendInlineBotResult, messages.sendMedia, messages.sendMessage, messages.sendMultiMedia, messages.sendPaidReaction, messages.sendQuickReplyMessages, messages.sendReaction, messages.sendScheduledMessages, messages.sendScreenshotNotification, messages.sendVote, messages.sendWebViewData, messages.setBotCallbackAnswer, 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.translateRichMessage, messages.translateText, messages.uninstallStickerSet, messages.unpinAllMessages, messages.updateDialogFilter, messages.updateDialogFiltersOrder, messages.updatePinnedForumTopic, messages.updatePinnedMessage, messages.updateSavedReactionTag, messages.uploadImportedMedia, messages.uploadMedia, messages.viewSponsoredMessage, payments.botCancelStarsSubscription, payments.canPurchaseStore, payments.changeStarsSubscription, payments.clearSavedInfo, payments.connectStarRefBot, payments.convertStarGift, payments.createStarGiftCollection, payments.deleteStarGiftCollection, payments.editConnectedStarRefBot, payments.fulfillStarsSubscription, payments.getConnectedStarRefBot, payments.getConnectedStarRefBots, payments.getGiveawayInfo, payments.getPaymentReceipt, payments.getPremiumGiftCodeOptions, payments.getSavedStarGifts, payments.getStarGiftCollections, payments.getStarsGiftOptions, payments.getStarsRevenueAdsAccountUrl, payments.getStarsRevenueStats, payments.getStarsRevenueWithdrawalUrl, payments.getStarsStatus, payments.getStarsSubscriptions, payments.getStarsTransactions, payments.getStarsTransactionsByID, payments.getSuggestedStarRefBots, payments.launchPrepaidGiveaway, payments.refundStarsCharge, payments.reorderStarGiftCollections, payments.saveStarGift, payments.sendStarGiftOffer, payments.toggleChatStarGiftNotifications, payments.toggleStarGiftsPinnedToTop, payments.transferStarGift, payments.updateStarGiftCollection, phone.createGroupCall, phone.deleteGroupCallParticipantMessages, phone.editGroupCallParticipant, phone.getGroupCallJoinAs, phone.getGroupCallStreamRtmpUrl, phone.getGroupParticipants, phone.inviteConferenceCallParticipant, phone.inviteToGroupCall, phone.joinGroupCall, phone.receivedCall, phone.requestCall, phone.saveCallDebug, phone.saveCallLog, phone.saveDefaultGroupCallJoinAs, phone.saveDefaultSendAs, phone.sendGroupCallEncryptedMessage, phone.sendGroupCallMessage, phone.sendSignalingData, phone.toggleGroupCallRecord, phone.toggleGroupCallSettings, phone.toggleGroupCallStartSubscription, photos.getUserPhotos, photos.updateProfilePhoto, photos.uploadContactProfilePhoto, photos.uploadProfilePhoto, premium.applyBoost, premium.getBoostsList, premium.getBoostsStatus, premium.getUserBoosts, smsjobs.finishJob, smsjobs.join, smsjobs.leave, smsjobs.updateSettings, stats.getPollStats, stats.getStoryPublicForwards, stats.getStoryStats, stickers.checkShortName, stickers.createStickerSet, stickers.deleteStickerSet, stories.canSendStory, stories.createAlbum, stories.deleteAlbum, stories.deleteStories, stories.editStory, stories.exportStoryLink, stories.getAlbumStories, stories.getAlbums, 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, upload.saveBigFilePart, upload.saveFilePart, users.getFullUser, users.getRequirementsToContact, users.getSavedMusic, users.getSavedMusicByID, users.getUsers, users.setSecureValueErrors, users.suggestBirthday

  • 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