Skip to content

messages.setTyping

No description provided by the pinned schema.

messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;

Bool

Name Type Flag Default Description
flags # flag word — No description provided by the pinned schema.
peer InputPeer — — No description provided by the pinned schema.
top_msg_id flags.0?int flags.0 — No description provided by the pinned schema.
action SendMessageAction — — No description provided by the pinned schema.
Parameter Bit Meaning
top_msg_id 0 Controlled by flags; present when this bit is set.
from miniproto.raw.functions import MessagesSetTyping

Public access: miniproto.raw.functions.MessagesSetTyping.

from miniproto.raw.functions import MessagesSetTyping
# Refer to the raw request class without constructing it or calling Telegram
request_type = MessagesSetTyping

Bool

Code Error Description
400 BUSINESS_CONNECTION_INVALID The connection_id passed to the wrapping invokeWithBusinessConnection call is invalid.
400 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.
400 BUSINESS_PEER_INVALID Messages can’t be set to the specified peer through the current business connection.
400 BUSINESS_PEER_USAGE_MISSING You cannot send a message to a user through a business connection if the user hasn’t recently contacted us.
400 CHANNEL_INVALID The provided channel is invalid.
400 CHANNEL_MONOFORUM_UNSUPPORTED Monoforums do not support this feature.
400 CHANNEL_PRIVATE You haven’t joined this channel/supergroup.
400 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.
400 CHAT_ID_INVALID The provided chat id is invalid.
400 INPUT_USER_DEACTIVATED The specified user was deleted.
400 MESSAGE_TOO_LONG The provided message is too long.
400 MSG_ID_INVALID Invalid message ID provided.
400 PEER_ID_INVALID The provided peer id is invalid.
400 TEXTDRAFT_PEER_INVALID sendMessageTextDraftAction can only be used in private 1-on-1 chats.
400 USER_BANNED_IN_CHANNEL You’re banned from sending messages in supergroups/channels.
400 USER_IS_BLOCKED You were blocked by this user.
400 USER_IS_BOT Bots can’t send messages to other bots.
401 AUTH_KEY_UNREGISTERED The specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403 CHAT_WRITE_FORBIDDEN You can’t write in this chat.
403 GROUPCALL_FORBIDDEN The specified group call cannot be used in this context.
403 USER_IS_BLOCKED You were blocked by this user.
406 CHANNEL_PRIVATE You haven’t joined this channel/supergroup.
406 PEER_ID_INVALID The provided peer id is invalid.

InputPeer, SendMessageAction Known selected constructors: inputPeerChannel, inputPeerChannelFromMessage, inputPeerChat, inputPeerEmpty, inputPeerSelf, inputPeerUser, inputPeerUserFromMessage, inputSendMessageRichMessageDraftAction, sendMessageCancelAction, sendMessageChooseContactAction, sendMessageChooseStickerAction, sendMessageEmojiInteraction, sendMessageEmojiInteractionSeen, sendMessageGamePlayAction, sendMessageGeoLocationAction, sendMessageHistoryImportAction, sendMessageRecordAudioAction, sendMessageRecordRoundAction, sendMessageRecordVideoAction, sendMessageRichMessageDraftAction, sendMessageStopDraftAction, sendMessageTextDraftAction, sendMessageTypingAction, sendMessageUploadAudioAction, sendMessageUploadDocumentAction, sendMessageUploadPhotoAction, sendMessageUploadRoundAction, sendMessageUploadVideoAction, speakingInGroupCallAction

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.updateDeviceLocked, account.updateEmojiStatus, account.updateNotifySettings, account.updatePasswordSettings, account.updatePersonalChannel, account.updateStatus, account.verifyPhone, aicompose.deleteTone, aicompose.saveTone, aicompose.setChatStyle, aicompose.updateTone, auth.bindTempAuthKey, auth.cancelCode, auth.cancelWebTokenAuthorization, auth.checkRecoveryPassword, auth.dropTempAuthKeys, auth.reportMissingCode, auth.requestFirebaseSms, auth.resetAuthorizations, bots.addUsername, bots.answerWebhookJSONQuery, bots.canSendMessage, bots.checkDownloadFileParams, bots.checkUsername, bots.deletePreviewMedia, bots.editAccessSettings, bots.exportBotToken, bots.removeUsername, bots.reorderPreviewMedias, bots.reorderUsernames, bots.resetBotCommands, bots.setBotBroadcastDefaultAdminRights, bots.setBotCommands, bots.setBotGroupDefaultAdminRights, bots.setBotInfo, bots.setBotMenuButton, bots.setBotSettings, bots.setCustomVerification, bots.setJoinChatResults, bots.toggleUserEmojiStatusPermission, bots.toggleUsername, bots.updateUserEmojiStatus, channels.checkUsername, channels.deactivateAllUsernames, channels.deleteParticipantHistory, channels.editBanned, channels.editLocation, channels.getParticipant, channels.getSendAs, 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.block, contacts.deleteByPhones, contacts.editCloseFriends, contacts.resetSaved, contacts.resetTopPeerRating, contacts.setBlocked, contacts.toggleTopPeers, contacts.unblock, contacts.updateContactNote, ephemeral.deleteAllWelcomeMessages, ephemeral.deleteMessage, ephemeral.deleteWelcomeMessage, ephemeral.editMessage, ephemeral.getCallbackAnswer, ephemeral.getWelcomeMessages, ephemeral.reportMessage, ephemeral.sendMessage, help.acceptTermsOfService, help.dismissSuggestion, help.hidePromoData, help.saveAppLog, help.setBotUpdatesStatus, messages.acceptUrlAuth, messages.addPollAnswer, messages.appendTodoList, messages.checkHistoryImportPeer, messages.checkQuickReplyShortcut, messages.checkUrlAuthMatchCode, messages.clearAllDrafts, messages.clearRecentReactions, messages.clearRecentStickers, messages.clickSponsoredMessage, messages.createForumTopic, messages.declineUrlAuth, messages.deleteChat, 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.editInlineBotMessageWidgetData, messages.editMessage, messages.editMessageWidgetData, messages.editQuickReplyShortcut, messages.editWidgetData, messages.exportChatInvite, messages.faveSticker, messages.forwardMessages, messages.getAdminsWithInvites, messages.getBotCallbackAnswer, messages.getBotWidgetQueryAnswer, messages.getChatInviteImporters, 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.getMessageEditData, messages.getMessageReactionsList, messages.getMessageReadParticipants, messages.getMessagesReactions, messages.getMessagesViews, messages.getOnlines, messages.getOutboxReadDate, messages.getPeerSettings, messages.getPollResults, messages.getPollVotes, 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.getTranscriptionLangs, messages.getUnreadMentions, messages.getUnreadPollVotes, messages.getUnreadReactions, messages.getWidgetPublicData, messages.hideAllChatJoinRequests, messages.hideChatJoinRequest, messages.hidePeerSettingsBar, messages.initHistoryImport, messages.installStickerSet, messages.inviteUsersToBot, 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.requestMainWebView, messages.requestUrlAuth, messages.requestWebView, messages.saveDefaultSendAs, messages.saveDraft, messages.saveGif, 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.setBotCallbackAnswer, messages.setBotPrecheckoutResults, messages.setBotShippingResults, messages.setBotWidgetQueryAnswer, messages.setChatAvailableReactions, messages.setChatTheme, messages.setChatWallPaper, messages.setDefaultHistoryTTL, messages.setDefaultReaction, messages.setEncryptedTyping, messages.setGameScore, messages.setHistoryTTL, messages.setInlineBotResults, messages.setInlineGameScore, messages.setShareTheme, 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.buyStarGiftOnchain, payments.canPurchaseStore, payments.changeStarsSubscription, payments.clearSavedInfo, payments.connectStarRefBot, payments.convertStarGift, payments.createStarGiftCollection, payments.deleteStarGift, payments.deleteStarGiftCollection, payments.depositStarGift, payments.displayStarGift, payments.editConnectedStarRefBot, payments.fulfillStarsSubscription, payments.getConnectedStarRefBot, payments.getConnectedStarRefBots, payments.getGiveawayInfo, payments.getPaymentReceipt, payments.getPremiumGiftCodeOptions, payments.getSavedStarGifts, payments.getStarGiftCollections, payments.getStarsRevenueAdsAccountUrl, payments.getStarsRevenueStats, payments.getStarsRevenueWithdrawalUrl, payments.getStarsStatus, payments.getStarsSubscriptions, payments.getStarsTransactions, payments.getStarsTransactionsByID, payments.getSuggestedStarRefBots, payments.launchPrepaidGiveaway, payments.reorderStarGiftCollections, payments.saveStarGift, payments.sendStarGiftOffer, payments.toggleChatStarGiftNotifications, payments.toggleStarGiftsPinnedToTop, payments.transferStarGift, payments.updateStarGiftCollection, payments.withdrawStarGift, payments.withdrawStarsRevenueToWallet, phone.createGroupCall, phone.deleteGroupCallParticipantMessages, phone.editGroupCallParticipant, phone.getGroupCallJoinAs, phone.getGroupCallStreamRtmpUrl, phone.getGroupParticipants, phone.joinGroupCall, phone.receivedCall, phone.saveCallDebug, phone.saveCallLog, phone.saveDefaultGroupCallJoinAs, phone.saveDefaultSendAs, phone.sendGroupCallEncryptedMessage, phone.sendGroupCallMessage, phone.sendSignalingData, phone.toggleGroupCallRecord, phone.toggleGroupCallSettings, phone.toggleGroupCallStartSubscription, 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.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.setSecureValueErrors, wallet.tonConnectClaimRequest, wallet.tonConnectCloseSession, wallet.tonConnectSubmitConnectResult, wallet.tonConnectSubmitResponse

  • business supported
  • tdlib_vs_core: changed_count=77; core_only_count=18; overlap_count=2338; tdlib_only_count=307
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2634; tdesktop_only=null; tdlib_only=accessPointRule, bots.setBotSettings, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret