Telethon/types/input_peer.html
2024-09-23 18:48:46 +02:00

17 lines
19 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InputPeer</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link id="style" href="../css/docs.dark.css" rel="stylesheet">
<script>
document.getElementById("style").href = "../css/docs."
+ (localStorage.getItem("theme") || "light")
+ ".css";
</script>
<link href="https://fonts.googleapis.com/css?family=Nunito|Source+Code+Pro"
rel="stylesheet">
</head>
<body>
<div id="main_div"><ul class="horizontal"><li><a href="../index.html">API</a></li><img src="../img/arrow.svg" alt="/" /><li><a href="index.html">Types</a></li><img src="../img/arrow.svg" alt="/" /><li><a href="input_peer.html">InputPeer</a></li></ul><h1>InputPeer</h1><h3>Available constructors</h3><p>This type has 7 constructors available.</p><table><tr><td><a href="../constructors/input_peer_channel.html">InputPeerChannel</a></td><td><a href="../constructors/input_peer_channel_from_message.html">InputPeerChannelFromMessage</a></td></tr><tr><td><a href="../constructors/input_peer_chat.html">InputPeerChat</a></td><td><a href="../constructors/input_peer_empty.html">InputPeerEmpty</a></td></tr><tr><td><a href="../constructors/input_peer_self.html">InputPeerSelf</a></td><td><a href="../constructors/input_peer_user.html">InputPeerUser</a></td></tr><tr><td><a href="../constructors/input_peer_user_from_message.html">InputPeerUserFromMessage</a></td></tr></table><h3>Requests returning this type</h3><p>No request returns this type.</p><table></table><h3>Requests accepting this type as input</h3><p>The following 167 requests accept this type as an input parameter.</p><table><tr><td><a href="../methods/messages/accept_url_auth.html">AcceptUrlAuthRequest</a></td><td><a href="../methods/premium/apply_boost.html">ApplyBoostRequest</a></td></tr><tr><td><a href="../methods/contacts/block.html">BlockRequest</a></td><td><a href="../methods/stories/can_send_story.html">CanSendStoryRequest</a></td></tr><tr><td><a href="../methods/payments/change_stars_subscription.html">ChangeStarsSubscriptionRequest</a></td><td><a href="../methods/messages/check_history_import_peer.html">CheckHistoryImportPeerRequest</a></td></tr><tr><td><a href="../methods/channels/create_forum_topic.html">CreateForumTopicRequest</a></td><td><a href="../methods/phone/create_group_call.html">CreateGroupCallRequest</a></td></tr><tr><td><a href="../methods/messages/delete_exported_chat_invite.html">DeleteExportedChatInviteRequest</a></td><td><a href="../methods/messages/delete_fact_check.html">DeleteFactCheckRequest</a></td></tr><tr><td><a href="../methods/messages/delete_history.html">DeleteHistoryRequest</a></td><td><a href="../methods/channels/delete_participant_history.html">DeleteParticipantHistoryRequest</a></td></tr><tr><td><a href="../methods/messages/delete_revoked_exported_chat_invites.html">DeleteRevokedExportedChatInvitesRequest</a></td><td><a href="../methods/messages/delete_saved_history.html">DeleteSavedHistoryRequest</a></td></tr><tr><td><a href="../methods/messages/delete_scheduled_messages.html">DeleteScheduledMessagesRequest</a></td><td><a href="../methods/stories/delete_stories.html">DeleteStoriesRequest</a></td></tr><tr><td><a href="../methods/account/disable_peer_connected_bot.html">DisablePeerConnectedBotRequest</a></td><td><a href="../methods/help/dismiss_suggestion.html">DismissSuggestionRequest</a></td></tr><tr><td><a href="../methods/channels/edit_banned.html">EditBannedRequest</a></td><td><a href="../methods/messages/edit_chat_about.html">EditChatAboutRequest</a></td></tr><tr><td><a href="../methods/messages/edit_chat_default_banned_rights.html">EditChatDefaultBannedRightsRequest</a></td><td><a href="../methods/messages/edit_exported_chat_invite.html">EditExportedChatInviteRequest</a></td></tr><tr><td><a href="../methods/chatlists/edit_exported_invite.html">EditExportedInviteRequest</a></td><td><a href="../methods/messages/edit_fact_check.html">EditFactCheckRequest</a></td></tr><tr><td><a href="../methods/phone/edit_group_call_participant.html">EditGroupCallParticipantRequest</a></td><td><a href="../methods/messages/edit_message.html">EditMessageRequest</a></td></tr><tr><td><a href="../methods/stories/edit_story.html">EditStoryRequest</a></td><td><a href="../methods/messages/export_chat_invite.html">ExportChatInviteRequest</a></td></tr><tr><td><a href="../methods/chatlists/export_chatlist_invite.html">ExportChatlistInviteRequest</a></td><td><a href="../methods/stories/export_story_link.html">ExportStoryLinkRequest</a></td></tr><tr><td><a href="../methods/messages/forward_messages.html">ForwardMessagesRequest</a></td><td><a href="../methods/payments/fulfill_stars_subscription.html">FulfillStarsSubscriptionRequest</a></td></tr><tr><td><a href="../methods/messages/get_admins_with_invites.html">GetAdminsWithInvitesRequest</a></td><td><a href="../methods/premium/get_boosts_list.html">GetBoostsListRequest</a></td></tr><tr><td><a href="../methods/premium/get_boosts_status.html">GetBoostsStatusRequest</a></td><td><a href="../methods/messages/get_bot_callback_answer.html">GetBotCallbackAnswerRequest</a></td></tr><tr><td><a href="../methods/messages/get_chat_invite_importers.html">GetChatInviteImportersRequest</a></td><td><a href="../methods/messages/get_dialogs.html">GetDialogsRequest</a></td></tr><tr><td><a href="../methods/messages/get_discussion_message.html">GetDiscussionMessageRequest</a></td><td><a href="../methods/messages/get_exported_chat_invite.html">GetExportedChatInviteRequest</a></td></tr><tr><td><a href="../methods/messages/get_exported_chat_invites.html">GetExportedChatInvitesRequest</a></td><td><a href="../methods/messages/get_extended_media.html">GetExtendedMediaRequest</a></td></tr><tr><td><a href="../methods/messages/get_fact_check.html">GetFactCheckRequest</a></td><td><a href="../methods/messages/get_game_high_scores.html">GetGameHighScoresRequest</a></td></tr><tr><td><a href="../methods/payments/get_giveaway_info.html">GetGiveawayInfoRequest</a></td><td><a href="../methods/phone/get_group_call_join_as.html">GetGroupCallJoinAsRequest</a></td></tr><tr><td><a href="../methods/phone/get_group_call_stream_rtmp_url.html">GetGroupCallStreamRtmpUrlRequest</a></td><td><a href="../methods/phone/get_group_participants.html">GetGroupParticipantsRequest</a></td></tr><tr><td><a href="../methods/messages/get_history.html">GetHistoryRequest</a></td><td><a href="../methods/messages/get_inline_bot_results.html">GetInlineBotResultsRequest</a></td></tr><tr><td><a href="../methods/messages/get_message_edit_data.html">GetMessageEditDataRequest</a></td><td><a href="../methods/messages/get_message_reactions_list.html">GetMessageReactionsListRequest</a></td></tr><tr><td><a href="../methods/messages/get_message_read_participants.html">GetMessageReadParticipantsRequest</a></td><td><a href="../methods/messages/get_messages_reactions.html">GetMessagesReactionsRequest</a></td></tr><tr><td><a href="../methods/messages/get_messages_views.html">GetMessagesViewsRequest</a></td><td><a href="../methods/messages/get_onlines.html">GetOnlinesRequest</a></td></tr><tr><td><a href="../methods/messages/get_outbox_read_date.html">GetOutboxReadDateRequest</a></td><td><a href="../methods/channels/get_participant.html">GetParticipantRequest</a></td></tr><tr><td><a href="../methods/payments/get_payment_receipt.html">GetPaymentReceiptRequest</a></td><td><a href="../methods/stories/get_peer_max_i_ds.html">GetPeerMaxIDsRequest</a></td></tr><tr><td><a href="../methods/messages/get_peer_settings.html">GetPeerSettingsRequest</a></td><td><a href="../methods/stories/get_peer_stories.html">GetPeerStoriesRequest</a></td></tr><tr><td><a href="../methods/stories/get_pinned_stories.html">GetPinnedStoriesRequest</a></td><td><a href="../methods/messages/get_poll_results.html">GetPollResultsRequest</a></td></tr><tr><td><a href="../methods/messages/get_poll_votes.html">GetPollVotesRequest</a></td><td><a href="../methods/payments/get_premium_gift_code_options.html">GetPremiumGiftCodeOptionsRequest</a></td></tr><tr><td><a href="../methods/messages/get_recent_locations.html">GetRecentLocationsRequest</a></td><td><a href="../methods/messages/get_replies.html">GetRepliesRequest</a></td></tr><tr><td><a href="../methods/messages/get_saved_dialogs.html">GetSavedDialogsRequest</a></td><td><a href="../methods/messages/get_saved_history.html">GetSavedHistoryRequest</a></td></tr><tr><td><a href="../methods/messages/get_saved_reaction_tags.html">GetSavedReactionTagsRequest</a></td><td><a href="../methods/messages/get_scheduled_history.html">GetScheduledHistoryRequest</a></td></tr><tr><td><a href="../methods/messages/get_scheduled_messages.html">GetScheduledMessagesRequest</a></td><td><a href="../methods/messages/get_search_counters.html">GetSearchCountersRequest</a></td></tr><tr><td><a href="../methods/messages/get_search_results_calendar.html">GetSearchResultsCalendarRequest</a></td><td><a href="../methods/messages/get_search_results_positions.html">GetSearchResultsPositionsRequest</a></td></tr><tr><td><a href="../methods/channels/get_send_as.html">GetSendAsRequest</a></td><td><a href="../methods/payments/get_stars_revenue_ads_account_url.html">GetStarsRevenueAdsAccountUrlRequest</a></td></tr><tr><td><a href="../methods/payments/get_stars_revenue_stats.html">GetStarsRevenueStatsRequest</a></td><td><a href="../methods/payments/get_stars_revenue_withdrawal_url.html">GetStarsRevenueWithdrawalUrlRequest</a></td></tr><tr><td><a href="../methods/payments/get_stars_status.html">GetStarsStatusRequest</a></td><td><a href="../methods/payments/get_stars_subscriptions.html">GetStarsSubscriptionsRequest</a></td></tr><tr><td><a href="../methods/payments/get_stars_transactions.html">GetStarsTransactionsRequest</a></td><td><a href="../methods/payments/get_stars_transactions_by_id.html">GetStarsTransactionsByIDRequest</a></td></tr><tr><td><a href="../methods/stories/get_stories_archive.html">GetStoriesArchiveRequest</a></td><td><a href="../methods/stories/get_stories_by_id.html">GetStoriesByIDRequest</a></td></tr><tr><td><a href="../methods/stories/get_stories_views.html">GetStoriesViewsRequest</a></td><td><a href="../methods/stats/get_story_public_forwards.html">GetStoryPublicForwardsRequest</a></td></tr><tr><td><a href="../methods/stories/get_story_reactions_list.html">GetStoryReactionsListRequest</a></td><td><a href="../methods/stats/get_story_stats.html">GetStoryStatsRequest</a></td></tr><tr><td><a href="../methods/stories/get_story_views_list.html">GetStoryViewsListRequest</a></td><td><a href="../methods/messages/get_unread_mentions.html">GetUnreadMentionsRequest</a></td></tr><tr><td><a href="../methods/messages/get_unread_reactions.html">GetUnreadReactionsRequest</a></td><td><a href="../methods/premium/get_user_boosts.html">GetUserBoostsRequest</a></td></tr><tr><td><a href="../methods/messages/hide_all_chat_join_requests.html">HideAllChatJoinRequestsRequest</a></td><td><a href="../methods/messages/hide_chat_join_request.html">HideChatJoinRequestRequest</a></td></tr><tr><td><a href="../methods/messages/hide_peer_settings_bar.html">HidePeerSettingsBarRequest</a></td><td><a href="../methods/help/hide_promo_data.html">HidePromoDataRequest</a></td></tr><tr><td><a href="../methods/stories/increment_story_views.html">IncrementStoryViewsRequest</a></td><td><a href="../methods/messages/init_history_import.html">InitHistoryImportRequest</a></td></tr><tr><td><a href="../methods/chatlists/join_chatlist_invite.html">JoinChatlistInviteRequest</a></td><td><a href="../methods/chatlists/join_chatlist_updates.html">JoinChatlistUpdatesRequest</a></td></tr><tr><td><a href="../methods/phone/join_group_call.html">JoinGroupCallRequest</a></td><td><a href="../methods/payments/launch_prepaid_giveaway.html">LaunchPrepaidGiveawayRequest</a></td></tr><tr><td><a href="../methods/chatlists/leave_chatlist.html">LeaveChatlistRequest</a></td><td><a href="../methods/messages/prolong_web_view.html">ProlongWebViewRequest</a></td></tr><tr><td><a href="../methods/messages/rate_transcribed_audio.html">RateTranscribedAudioRequest</a></td><td><a href="../methods/messages/read_discussion.html">ReadDiscussionRequest</a></td></tr><tr><td><a href="../methods/messages/read_history.html">ReadHistoryRequest</a></td><td><a href="../methods/messages/read_mentions.html">ReadMentionsRequest</a></td></tr><tr><td><a href="../methods/messages/read_reactions.html">ReadReactionsRequest</a></td><td><a href="../methods/stories/read_stories.html">ReadStoriesRequest</a></td></tr><tr><td><a href="../methods/messages/report.html">ReportRequest</a></td><td><a href="../methods/stories/report.html">ReportRequest</a></td></tr><tr><td><a href="../methods/account/report_peer.html">ReportPeerRequest</a></td><td><a href="../methods/account/report_profile_photo.html">ReportProfilePhotoRequest</a></td></tr><tr><td><a href="../methods/messages/report_reaction.html">ReportReactionRequest</a></td><td><a href="../methods/messages/report_spam.html">ReportSpamRequest</a></td></tr><tr><td><a href="../methods/channels/report_spam.html">ReportSpamRequest</a></td><td><a href="../methods/messages/request_app_web_view.html">RequestAppWebViewRequest</a></td></tr><tr><td><a href="../methods/messages/request_main_web_view.html">RequestMainWebViewRequest</a></td><td><a href="../methods/messages/request_url_auth.html">RequestUrlAuthRequest</a></td></tr><tr><td><a href="../methods/messages/request_web_view.html">RequestWebViewRequest</a></td><td><a href="../methods/contacts/reset_top_peer_rating.html">ResetTopPeerRatingRequest</a></td></tr><tr><td><a href="../methods/account/save_auto_save_settings.html">SaveAutoSaveSettingsRequest</a></td><td><a href="../methods/phone/save_default_group_call_join_as.html">SaveDefaultGroupCallJoinAsRequest</a></td></tr><tr><td><a href="../methods/messages/save_default_send_as.html">SaveDefaultSendAsRequest</a></td><td><a href="../methods/messages/save_draft.html">SaveDraftRequest</a></td></tr><tr><td><a href="../methods/messages/search.html">SearchRequest</a></td><td><a href="../methods/messages/search_global.html">SearchGlobalRequest</a></td></tr><tr><td><a href="../methods/channels/search_posts.html">SearchPostsRequest</a></td><td><a href="../methods/messages/send_bot_requested_peer.html">SendBotRequestedPeerRequest</a></td></tr><tr><td><a href="../methods/messages/send_inline_bot_result.html">SendInlineBotResultRequest</a></td><td><a href="../methods/messages/send_media.html">SendMediaRequest</a></td></tr><tr><td><a href="../methods/messages/send_message.html">SendMessageRequest</a></td><td><a href="../methods/messages/send_multi_media.html">SendMultiMediaRequest</a></td></tr><tr><td><a href="../methods/messages/send_paid_reaction.html">SendPaidReactionRequest</a></td><td><a href="../methods/messages/send_quick_reply_messages.html">SendQuickReplyMessagesRequest</a></td></tr><tr><td><a href="../methods/messages/send_reaction.html">SendReactionRequest</a></td><td><a href="../methods/stories/send_reaction.html">SendReactionRequest</a></td></tr><tr><td><a href="../methods/messages/send_scheduled_messages.html">SendScheduledMessagesRequest</a></td><td><a href="../methods/messages/send_screenshot_notification.html">SendScreenshotNotificationRequest</a></td></tr><tr><td><a href="../methods/stories/send_story.html">SendStoryRequest</a></td><td><a href="../methods/messages/send_vote.html">SendVoteRequest</a></td></tr><tr><td><a href="../methods/contacts/set_blocked.html">SetBlockedRequest</a></td><td><a href="../methods/messages/set_chat_available_reactions.html">SetChatAvailableReactionsRequest</a></td></tr><tr><td><a href="../methods/messages/set_chat_theme.html">SetChatThemeRequest</a></td><td><a href="../methods/messages/set_chat_wall_paper.html">SetChatWallPaperRequest</a></td></tr><tr><td><a href="../methods/messages/set_game_score.html">SetGameScoreRequest</a></td><td><a href="../methods/messages/set_history_ttl.html">SetHistoryTTLRequest</a></td></tr><tr><td><a href="../methods/messages/set_typing.html">SetTypingRequest</a></td><td><a href="../methods/messages/start_bot.html">StartBotRequest</a></td></tr><tr><td><a href="../methods/messages/start_history_import.html">StartHistoryImportRequest</a></td><td><a href="../methods/account/toggle_connected_bot_paused.html">ToggleConnectedBotPausedRequest</a></td></tr><tr><td><a href="../methods/messages/toggle_no_forwards.html">ToggleNoForwardsRequest</a></td><td><a href="../methods/messages/toggle_paid_reaction_privacy.html">TogglePaidReactionPrivacyRequest</a></td></tr><tr><td><a href="../methods/stories/toggle_peer_stories_hidden.html">TogglePeerStoriesHiddenRequest</a></td><td><a href="../methods/messages/toggle_peer_translations.html">TogglePeerTranslationsRequest</a></td></tr><tr><td><a href="../methods/stories/toggle_pinned.html">TogglePinnedRequest</a></td><td><a href="../methods/stories/toggle_pinned_to_top.html">TogglePinnedToTopRequest</a></td></tr><tr><td><a href="../methods/messages/transcribe_audio.html">TranscribeAudioRequest</a></td><td><a href="../methods/messages/translate_text.html">TranslateTextRequest</a></td></tr><tr><td><a href="../methods/contacts/unblock.html">UnblockRequest</a></td><td><a href="../methods/messages/unpin_all_messages.html">UnpinAllMessagesRequest</a></td></tr><tr><td><a href="../methods/messages/update_pinned_message.html">UpdatePinnedMessageRequest</a></td><td><a href="../methods/messages/upload_imported_media.html">UploadImportedMediaRequest</a></td></tr><tr><td><a href="../methods/messages/upload_media.html">UploadMediaRequest</a></td></tr></table><h3>Other types containing this type</h3><p>You can find this type as a member of any of the following 21 types.</p><table><tr><td><a href="../constructors/bot_command_scope_peer.html">BotCommandScopePeer</a></td><td><a href="../constructors/bot_command_scope_peer_admins.html">BotCommandScopePeerAdmins</a></td></tr><tr><td><a href="../constructors/bot_command_scope_peer_user.html">BotCommandScopePeerUser</a></td><td><a href="../constructors/dialog_filter.html">DialogFilter</a></td></tr><tr><td><a href="../constructors/dialog_filter_chatlist.html">DialogFilterChatlist</a></td><td><a href="../constructors/input_channel_from_message.html">InputChannelFromMessage</a></td></tr><tr><td><a href="../constructors/input_dialog_peer.html">InputDialogPeer</a></td><td><a href="../constructors/input_folder_peer.html">InputFolderPeer</a></td></tr><tr><td><a href="../constructors/input_invoice_message.html">InputInvoiceMessage</a></td><td><a href="../constructors/input_media_story.html">InputMediaStory</a></td></tr><tr><td><a href="../constructors/input_notify_forum_topic.html">InputNotifyForumTopic</a></td><td><a href="../constructors/input_notify_peer.html">InputNotifyPeer</a></td></tr><tr><td><a href="../constructors/input_peer_channel_from_message.html">InputPeerChannelFromMessage</a></td><td><a href="../constructors/input_peer_photo_file_location.html">InputPeerPhotoFileLocation</a></td></tr><tr><td><a href="../constructors/input_peer_user_from_message.html">InputPeerUserFromMessage</a></td><td><a href="../constructors/input_reply_to_message.html">InputReplyToMessage</a></td></tr><tr><td><a href="../constructors/input_reply_to_story.html">InputReplyToStory</a></td><td><a href="../constructors/input_store_payment_premium_gift_code.html">InputStorePaymentPremiumGiftCode</a></td></tr><tr><td><a href="../constructors/input_store_payment_premium_giveaway.html">InputStorePaymentPremiumGiveaway</a></td><td><a href="../constructors/input_store_payment_stars_giveaway.html">InputStorePaymentStarsGiveaway</a></td></tr><tr><td><a href="../constructors/input_user_from_message.html">InputUserFromMessage</a></td></tr></table></div></body></html>