Skip to content

messages.forwardMessages

No description provided by the pinned schema.

messages.forwardMessages#13704a7c flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true allow_paid_floodskip:flags.19?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int reply_to:flags.22?InputReplyTo schedule_date:flags.10?int schedule_repeat_period:flags.24?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long video_timestamp:flags.20?int allow_paid_stars:flags.21?long suggested_post:flags.23?SuggestedPost = Updates;

Updates

NameTypeFlagDefaultDescription
flags#flag wordNo description provided by the pinned schema.
silentflags.5?trueflags.5No description provided by the pinned schema.
backgroundflags.6?trueflags.6No description provided by the pinned schema.
with_my_scoreflags.8?trueflags.8No description provided by the pinned schema.
drop_authorflags.11?trueflags.11No description provided by the pinned schema.
drop_media_captionsflags.12?trueflags.12No description provided by the pinned schema.
noforwardsflags.14?trueflags.14No description provided by the pinned schema.
allow_paid_floodskipflags.19?trueflags.19No description provided by the pinned schema.
from_peerInputPeerNo description provided by the pinned schema.
idVectorNo description provided by the pinned schema.
random_idVectorNo description provided by the pinned schema.
to_peerInputPeerNo description provided by the pinned schema.
top_msg_idflags.9?intflags.9No description provided by the pinned schema.
reply_toflags.22?InputReplyToflags.22No description provided by the pinned schema.
schedule_dateflags.10?intflags.10No description provided by the pinned schema.
schedule_repeat_periodflags.24?intflags.24No description provided by the pinned schema.
send_asflags.13?InputPeerflags.13No description provided by the pinned schema.
quick_reply_shortcutflags.17?InputQuickReplyShortcutflags.17No description provided by the pinned schema.
effectflags.18?longflags.18No description provided by the pinned schema.
video_timestampflags.20?intflags.20No description provided by the pinned schema.
allow_paid_starsflags.21?longflags.21No description provided by the pinned schema.
suggested_postflags.23?SuggestedPostflags.23No description provided by the pinned schema.
ParameterBitMeaning
silent5Controlled by flags; present when this bit is set.
background6Controlled by flags; present when this bit is set.
with_my_score8Controlled by flags; present when this bit is set.
drop_author11Controlled by flags; present when this bit is set.
drop_media_captions12Controlled by flags; present when this bit is set.
noforwards14Controlled by flags; present when this bit is set.
allow_paid_floodskip19Controlled by flags; present when this bit is set.
top_msg_id9Controlled by flags; present when this bit is set.
reply_to22Controlled by flags; present when this bit is set.
schedule_date10Controlled by flags; present when this bit is set.
schedule_repeat_period24Controlled by flags; present when this bit is set.
send_as13Controlled by flags; present when this bit is set.
quick_reply_shortcut17Controlled by flags; present when this bit is set.
effect18Controlled by flags; present when this bit is set.
video_timestamp20Controlled by flags; present when this bit is set.
allow_paid_stars21Controlled by flags; present when this bit is set.
suggested_post23Controlled by flags; present when this bit is set.
from miniproto.raw.functions import MessagesForwardMessages

Public access: miniproto.raw.functions.MessagesForwardMessages.

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

Updates

CodeErrorDescription
400BROADCAST_PUBLIC_VOTERS_FORBIDDENYou can’t forward polls with public voters.
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.
400CHANNEL_INVALIDThe provided channel is invalid.
400CHANNEL_PRIVATEYou haven’t joined this channel/supergroup.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400CHAT_FORWARDS_RESTRICTEDYou can’t forward messages from a protected chat.
400CHAT_ID_INVALIDThe provided chat id is invalid.
400CHAT_RESTRICTEDYou can’t send messages in this chat, you were restricted.
400GROUPED_MEDIA_INVALIDInvalid grouped media.
400INPUT_USER_DEACTIVATEDThe specified user was deleted.
400MEDIA_EMPTYThe provided media object is invalid.
400MEDIA_FILE_INVALIDThe specified media file is invalid.
400MESSAGE_IDS_EMPTYNo message ids were provided.
400MESSAGE_ID_INVALIDThe provided message id is invalid.
400MSG_ID_INVALIDInvalid message ID provided.
400PEER_ID_INVALIDThe provided peer id is invalid.
400QUICK_REPLIES_BOT_NOT_ALLOWEDQuick replies cannot be used by bots.
400QUICK_REPLIES_TOO_MUCHA maximum of appConfig.quick_replies_limit shortcuts may be created, the limit was reached.
400QUIZ_ANSWER_MISSINGYou can forward a quiz while hiding the original author only after choosing an option in the quiz.
400RANDOM_ID_INVALIDA provided random ID is invalid.
400REPLY_MESSAGES_TOO_MUCHEach shortcut can contain a maximum of appConfig.quick_reply_messages_limit messages, the limit was reached.
400REPLY_TO_MONOFORUM_PEER_INVALIDThe specified inputReplyToMonoForum.monoforum_peer_id is invalid.
400SCHEDULE_BOT_NOT_ALLOWEDBots cannot schedule messages.
400SCHEDULE_DATE_TOO_LATEYou can’t schedule a message this far in the future.
400SCHEDULE_TOO_MUCHThere are too many scheduled messages.
400SEND_AS_PEER_INVALIDYou can’t send messages as the specified peer.
400SLOWMODE_MULTI_MSGS_DISABLEDSlowmode is enabled, you cannot forward multiple messages to this group.
400SUGGESTED_POST_PEER_INVALIDYou cannot send suggested posts to non-monoforum peers.
400TOPIC_CLOSEDThis topic was closed, you can’t send messages to it anymore.
400TOPIC_DELETEDThe specified topic was deleted.
400USER_BANNED_IN_CHANNELYou’re banned from sending messages in supergroups/channels.
400USER_BOT_TO_BOT_DISABLEDBot-to-bot messaging is disabled because one of the two bots hasn’t enabled the Bot to Bot setting in @BotFather.
400USER_IS_BLOCKEDYou were blocked by this user.
400USER_IS_BOTBots can’t send messages to other bots.
400YOU_BLOCKED_USERYou blocked this user.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403ALLOW_PAYMENT_REQUIRED_%dThis peer charges %d Telegram Stars per message, but the allow_paid_stars was not set or its value is smaller than %d.
403CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
403CHAT_GUEST_SEND_FORBIDDENYou join the discussion group before commenting, see here » for more info.
403CHAT_SEND_AUDIOS_FORBIDDENYou can’t send audio messages in this chat.
403CHAT_SEND_DOCS_FORBIDDENYou can’t send documents in this chat.
403CHAT_SEND_GAME_FORBIDDENYou can’t send a game to this chat.
403CHAT_SEND_GIFS_FORBIDDENYou can’t send gifs in this chat.
403CHAT_SEND_INLINE_FORBIDDENYou can’t send inline messages in this group.
403CHAT_SEND_MEDIA_FORBIDDENYou can’t send media in this chat.
403CHAT_SEND_PHOTOS_FORBIDDENYou can’t send photos in this chat.
403CHAT_SEND_PLAIN_FORBIDDENYou can’t send non-media (text) messages in this chat.
403CHAT_SEND_POLL_FORBIDDENYou can’t send polls in this chat.
403CHAT_SEND_STICKERS_FORBIDDENYou can’t send stickers in this chat.
403CHAT_SEND_VIDEOS_FORBIDDENYou can’t send videos in this chat.
403CHAT_SEND_VOICES_FORBIDDENYou can’t send voice recordings in this chat.
403CHAT_SEND_WEBPAGE_FORBIDDENYou can’t send webpage previews to this chat.
403CHAT_WRITE_FORBIDDENYou can’t write in this chat.
403PREMIUM_ACCOUNT_REQUIREDA premium account is required to execute this action.
403PRIVACY_PREMIUM_REQUIREDYou need a Telegram Premium subscription to send a message to this user.
403USER_IS_BLOCKEDYou were blocked by this user.
403VOICE_MESSAGES_FORBIDDENThis user’s privacy settings forbid you from sending voice messages.
406ALLOW_PAYMENT_REQUIREDThis peer only accepts paid messages »: this error is only emitted for older layers without paid messages support, so the client must be updated in order to use paid messages. .
406CHANNEL_PRIVATEYou haven’t joined this channel/supergroup.
406CHAT_FORWARDS_RESTRICTEDYou can’t forward messages from a protected chat.
406PAYMENT_UNSUPPORTEDA detailed description of the error will be received separately as described here ».
406PEER_ID_INVALIDThe provided peer id is invalid.
406PRIVACY_PREMIUM_REQUIREDYou need a Telegram Premium subscription to send a message to this user.
406TOPIC_CLOSEDThis topic was closed, you can’t send messages to it anymore.
406TOPIC_DELETEDThe specified topic was deleted.
420SLOWMODE_WAIT_%dSlowmode is enabled in this chat: wait %d seconds before sending another message to this chat.
500RANDOM_ID_DUPLICATEYou provided a random ID that was already used.

InputPeer, InputQuickReplyShortcut, InputReplyTo, SuggestedPost Known selected constructors: inputPeerChannel, inputPeerChannelFromMessage, inputPeerChat, inputPeerEmpty, inputPeerSelf, inputPeerUser, inputPeerUserFromMessage, inputQuickReplyShortcut, inputQuickReplyShortcutId, inputReplyToEphemeralMessage, inputReplyToMessage, inputReplyToMonoForum, inputReplyToStory, suggestedPost

Updates Known selected constructors: updateShort, updateShortChatMessage, updateShortMessage, updateShortSentMessage, updates, updatesCombined, updatesTooLong

account.disablePeerConnectedBot, account.getBotBusinessConnection, account.getNotifyExceptions, account.getPaidMessagesRevenue, account.reportPeer, account.reportProfilePhoto, account.saveAutoSaveSettings, account.toggleConnectedBotPaused, account.toggleNoPaidMessagesException, account.toggleWebBrowserSettingsException, account.updateConnectedBot, bots.allowSendMessage, bots.setCustomVerification, channels.convertToGigagroup, channels.createChannel, channels.deleteChannel, channels.deleteHistory, channels.deleteParticipantHistory, channels.editAdmin, channels.editBanned, channels.editPhoto, channels.editTitle, channels.getParticipant, channels.getSendAs, channels.leaveChannel, channels.reportSpam, channels.restrictSponsoredMessages, channels.searchPosts, channels.setBoostsToUnblockRestrictions, channels.toggleAntiSpam, channels.toggleAutotranslation, channels.toggleForum, channels.toggleJoinRequest, channels.toggleJoinToSend, channels.toggleParticipantsHidden, channels.togglePreHistoryHidden, channels.toggleSignatures, channels.toggleSlowMode, channels.toggleViewForumAsMessages, channels.updateColor, channels.updateEmojiStatus, channels.updatePaidMessagesPrice, chatlists.editExportedInvite, chatlists.exportChatlistInvite, chatlists.joinChatlistInvite, chatlists.joinChatlistUpdates, chatlists.leaveChatlist, communities.create, communities.getParticipantJoinedChats, communities.toggleCommunityCollapsedInDialogs, communities.toggleParticipantBanned, communities.togglePeerLink, communities.togglePeerLinkRequestApproval, contacts.acceptContact, contacts.addContact, contacts.block, contacts.blockFromReplies, contacts.deleteContacts, contacts.getLocated, contacts.resetTopPeerRating, contacts.setBlocked, contacts.unblock, ephemeral.deleteMessage, ephemeral.editMessage, ephemeral.getCallbackAnswer, ephemeral.reportMessage, ephemeral.sendMessage, folders.editPeerFolders, help.dismissSuggestion, help.hidePromoData, messages.acceptUrlAuth, messages.addPollAnswer, messages.appendTodoList, messages.checkHistoryImportPeer, messages.createForumTopic, messages.deleteChatUser, messages.deleteExportedChatInvite, messages.deleteFactCheck, messages.deleteHistory, messages.deleteParticipantReaction, messages.deleteParticipantReactions, messages.deletePollAnswer, messages.deleteQuickReplyMessages, messages.deleteRevokedExportedChatInvites, messages.deleteSavedHistory, messages.deleteScheduledMessages, messages.deleteTopicHistory, messages.editChatAbout, messages.editChatCreator, messages.editChatDefaultBannedRights, messages.editChatParticipantRank, messages.editChatPhoto, messages.editChatTitle, messages.editExportedChatInvite, messages.editFactCheck, messages.editForumTopic, messages.editMessage, messages.exportChatInvite, messages.getAdminsWithInvites, messages.getAllDrafts, messages.getBotCallbackAnswer, 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.getPaidReactionPrivacy, 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.getUnreadMentions, messages.getUnreadPollVotes, messages.getUnreadReactions, messages.hideAllChatJoinRequests, messages.hideChatJoinRequest, messages.hidePeerSettingsBar, messages.initHistoryImport, messages.markDialogUnread, messages.migrateChat, messages.prolongWebView, messages.rateTranscribedAudio, messages.readDiscussion, messages.readHistory, messages.readMentions, messages.readPollVotes, messages.readReactions, messages.readSavedHistory, messages.reorderPinnedForumTopics, messages.report, messages.reportMessagesDelivery, messages.reportReaction, messages.reportReadMetrics, messages.reportSpam, messages.requestAppWebView, messages.requestMainWebView, messages.requestUrlAuth, messages.requestWebView, messages.saveDefaultSendAs, messages.saveDraft, 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.setChatAvailableReactions, messages.setChatTheme, messages.setChatWallPaper, messages.setGameScore, messages.setHistoryTTL, messages.setTyping, messages.startBot, messages.startHistoryImport, messages.summarizeText, messages.toggleNoForwards, messages.togglePaidReactionPrivacy, messages.togglePeerTranslations, messages.toggleSuggestedPostApproval, messages.toggleTodoCompleted, messages.transcribeAudio, messages.translateRichMessage, messages.translateText, messages.unpinAllMessages, messages.updatePinnedForumTopic, messages.updatePinnedMessage, messages.uploadImportedMedia, messages.uploadMedia, payments.applyGiftCode, payments.assignAppStoreTransaction, payments.assignPlayMarketTransaction, payments.changeStarsSubscription, payments.connectStarRefBot, payments.craftStarGift, payments.createStarGiftCollection, payments.deleteStarGiftCollection, 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.refundStarsCharge, payments.reorderStarGiftCollections, payments.resolveStarGiftOffer, payments.sendStarGiftOffer, payments.toggleChatStarGiftNotifications, payments.toggleStarGiftsPinnedToTop, payments.transferStarGift, payments.updateStarGiftCollection, payments.updateStarGiftPrice, payments.upgradeStarGift, phone.createConferenceCall, phone.createGroupCall, phone.declineConferenceCallInvite, phone.deleteConferenceCallParticipants, phone.deleteGroupCallMessages, phone.deleteGroupCallParticipantMessages, phone.discardCall, phone.discardGroupCall, phone.editGroupCallParticipant, phone.editGroupCallTitle, phone.getGroupCallChainBlocks, phone.getGroupCallJoinAs, phone.getGroupCallStreamRtmpUrl, phone.getGroupParticipants, phone.inviteConferenceCallParticipant, phone.inviteToGroupCall, phone.joinGroupCall, phone.joinGroupCallPresentation, phone.leaveGroupCall, phone.leaveGroupCallPresentation, phone.saveDefaultGroupCallJoinAs, phone.saveDefaultSendAs, phone.sendConferenceCallBroadcast, phone.sendGroupCallMessage, phone.setCallRating, phone.startScheduledGroupCall, phone.toggleGroupCallRecord, phone.toggleGroupCallSettings, phone.toggleGroupCallStartSubscription, premium.applyBoost, premium.getBoostsList, premium.getBoostsStatus, premium.getUserBoosts, stats.getPollStats, stats.getStoryPublicForwards, stats.getStoryStats, stories.activateStealthMode, stories.canSendStory, stories.createAlbum, stories.deleteAlbum, stories.deleteStories, stories.editStory, stories.exportStoryLink, stories.getAlbumStories, stories.getAlbums, stories.getAllReadPeerStories, 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.togglePeerStoriesHidden, stories.togglePinned, stories.togglePinnedToTop, stories.updateAlbum, 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