CINXE.COM
Bool
<!DOCTYPE html> <html class=""> <head> <meta charset="utf-8"> <title>Bool</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta property="description" content="Boolean type."> <meta property="og:title" content="Bool"> <meta property="og:image" content=""> <meta property="og:description" content="Boolean type."> <link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png"> <link rel="alternate icon" href="/img/favicon.ico" type="image/x-icon" /> <link href="/css/bootstrap.min.css?3" rel="stylesheet"> <link href="/css/telegram.css?241" rel="stylesheet" media="screen"> <style> </style> </head> <body class="preload"> <div class="dev_page_wrap"> <div class="dev_page_head navbar navbar-static-top navbar-tg"> <div class="navbar-inner"> <div class="container clearfix"> <ul class="nav navbar-nav navbar-right hidden-xs"><li class="navbar-twitter"><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)"><i class="icon icon-twitter"></i><span> Twitter</span></a></li></ul> <ul class="nav navbar-nav"> <li><a href="//telegram.org/">Home</a></li> <li class="hidden-xs"><a href="//telegram.org/faq">FAQ</a></li> <li class="hidden-xs"><a href="//telegram.org/apps">Apps</a></li> <li class=""><a href="/api">API</a></li> <li class=""><a href="/mtproto">Protocol</a></li> <li class="active"><a href="/schema">Schema</a></li> </ul> </div> </div> </div> <div class="container clearfix"> <div class="dev_page"> <div id="dev_page_content_wrap" class=" "> <div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/type/Bool" >Bool</a></li></ul></div> <h1 id="dev_page_title">Bool</h1> <div id="dev_page_content"><p>Boolean type.</p> <p><div class="clearfix"> <ul class="dev_layer_select slightly-pull-right nav nav-pills"> <li class="dropdown"> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 185 <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="?layer=1">1 – Base layer</a></li><li><a href="?layer=2">2 – New userpic notifications</a></li><li><a href="?layer=3">3 – Send message can trigger link change</a></li><li><a href="?layer=4">4 – Check-in chats</a></li><li><a href="?layer=5">5 – Localized SMS, localized notifications</a></li><li><a href="?layer=6">6 – Foursquare integration</a></li><li><a href="?layer=7">7 – Added wallPaperSolid</a></li><li><a href="?layer=8">8 – Added end-to-end encryption</a></li><li><a href="?layer=9">9 – Improved big files upload perfomance</a></li><li><a href="?layer=10">10 – Improved chat participants updates</a></li><li><a href="?layer=11">11 – Improved secret chats</a></li><li><a href="?layer=12">12 – New dynamic support</a></li><li><a href="?layer=13">13 – Audio, video MIME; contacts import retry; new secret actions</a></li><li><a href="?layer=14">14 – Notify settings sync, blacklist sync</a></li><li><a href="?layer=15">15 – Modified getHistory offset behaviour</a></li><li><a href="?layer=16">16 – Split sendCode into 2 parts</a></li><li><a href="?layer=17">17 – Added custom typing, introduced message flags</a></li><li><a href="?layer=18">18 – Added usernames</a></li><li><a href="?layer=23">23 – Stickers for secret chats</a></li><li><a href="?layer=105">105 – Scheduled messages, Cloud themes</a></li><li><a href="?layer=108">108 – Login with QR code</a></li><li><a href="?layer=109">109 – Polls v2</a></li><li><a href="?layer=110">110 – People Nearby 2.0, Bank card entity</a></li><li><a href="?layer=111">111 – Folders, Broadcast Stats</a></li><li><a href="?layer=112">112 – Old featured stickers, generic dice, poll timer, poll solution</a></li><li><a href="?layer=113">113 – PSA</a></li><li><a href="?layer=114">114 – Video thumbs for GIFs</a></li><li><a href="?layer=115">115 – Peek Channel Invite</a></li><li><a href="?layer=116">116 – Group Stats, Profile Videos</a></li><li><a href="?layer=117">117 – WebRTC Phone Calls</a></li><li><a href="?layer=118">118 – Callback with 2FA, Countries list</a></li><li><a href="?layer=119">119 – Comments in channels, Threads, Anonymous Admins</a></li><li><a href="?layer=120">120 – Multipins, Message Stats, GeoLive v2</a></li><li><a href="?layer=121">121 – SVG-based Outlines for Stickers</a></li><li><a href="?layer=122">122 – Voice Chats</a></li><li><a href="?layer=123">123 – Voice Chat improvements</a></li><li><a href="?layer=124">124 – Expiring Invite links</a></li><li><a href="?layer=125">125 – Voice Chats in Broadcasts</a></li><li><a href="?layer=126">126 – Ban channels in channels</a></li><li><a href="?layer=127">127 – Payments in channels</a></li><li><a href="?layer=128">128 – Microthumbs for User/Chat profile photos</a></li><li><a href="?layer=129">129 – Video Chats</a></li><li><a href="?layer=130">130 – Custom placeholder for bot reply keyboards</a></li><li><a href="?layer=131">131 – Reset 2FA Password after a week</a></li><li><a href="?layer=132">132 – Chat themes</a></li><li><a href="?layer=133">133 – 64-bit IDs for User/Chat</a></li><li><a href="?layer=134">134 – Chat Requests, Shared Media Calendar</a></li><li><a href="?layer=135">135 – Send Message As a Channel</a></li><li><a href="?layer=136">136 – Reactions</a></li><li><a href="?layer=137">137 – Translations</a></li><li><a href="?layer=138">138 – GIF Sticker Packs</a></li><li><a href="?layer=139">139 – RTMP streaming</a></li><li><a href="?layer=140">140 – WebApps, Cloud Ringtones</a></li><li><a href="?layer=142">142 – TCP Reflectors</a></li><li><a href="?layer=143">143 – Premium Subscription, Cloud Invoices</a></li><li><a href="?layer=144">144 – Premium as a Gift, Custom Emoji</a></li><li><a href="?layer=145">145 – Custom Reactions, Statuses, Sign In with email</a></li><li><a href="?layer=147">147 – Keywords for stickers and emojis</a></li><li><a href="?layer=148">148 – Forums, collectible usernames</a></li><li><a href="?layer=150">150 – Pinned forum topics, general topic</a></li><li><a href="?layer=151">151 – Media spoilers, suggested profile photos</a></li><li><a href="?layer=152">152 – Real-time translations, Firebase SMS authentication</a></li><li><a href="?layer=153">153 – Modify created stickersets</a></li><li><a href="?layer=155">155 – Dates for reactions</a></li><li><a href="?layer=158">158 – Shared folders, per-chat wallpapers</a></li><li><a href="?layer=159">159 – Anonymous votes</a></li><li><a href="?layer=160">160 – Stories</a></li><li><a href="?layer=164">164 – Stories in Channels</a></li><li><a href="?layer=166">166 – Giveaways in channels</a></li><li><a href="?layer=167">167 – Similar channels</a></li><li><a href="?layer=168">168 – Channel colors</a></li><li><a href="?layer=169">169 – Multiselection of chats for bots</a></li><li><a href="?layer=170">170 – Saved Messages 2.0</a></li><li><a href="?layer=171">171 – Saved Messages 2.0</a></li><li><a href="?layer=174">174 – Group boosts</a></li><li><a href="?layer=176">176 – Business</a></li><li><a href="?layer=177">177 – Business Bots, Birthdays</a></li><li><a href="?layer=178">178 – Saved Personal channel, Reactions notifications</a></li><li><a href="?layer=179">179 – Channel revenue stats, phrases in SMS</a></li><li><a href="?layer=180">180 – Message Effects, Hashtags</a></li><li><a href="?layer=181">181 – Stars</a></li><li><a href="?layer=182">182 – Stars Revenue</a></li><li><a href="?layer=183">183 – Paid posts</a></li><li><a href="?layer=184">184 – Stars Refunds</a></li><li><a href="?layer=185"><strong>185 – MiniApp Store, Star Gifts</strong></a></li> <li class="divider"></li> <li><a href="/api/layers">More...</a></li> </ul> </li> </ul> </div> <pre class="page_scheme"><code><a href="/constructor/boolFalse" >boolFalse</a>#bc799737 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/constructor/boolTrue" >boolTrue</a>#997275b5 = <a href="/type/Bool" class="current_page_link" >Bool</a>; ---functions--- <a href="/method/auth.resetAuthorizations" >auth.resetAuthorizations</a>#9fab0d1a = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/auth.bindTempAuthKey" >auth.bindTempAuthKey</a>#cdd42a05 perm_auth_key_id:<a href="/type/long" >long</a> nonce:<a href="/type/long" >long</a> expires_at:<a href="/type/int" >int</a> encrypted_message:<a href="/type/bytes" >bytes</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/auth.cancelCode" >auth.cancelCode</a>#1f040578 phone_number:<a href="/type/string" >string</a> phone_code_hash:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/auth.dropTempAuthKeys" >auth.dropTempAuthKeys</a>#8e48a188 except_auth_keys:<a href="/type/Vector%20t" >Vector</a><<a href="/type/long" >long</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/auth.checkRecoveryPassword" >auth.checkRecoveryPassword</a>#d36bf79 code:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/auth.requestFirebaseSms" >auth.requestFirebaseSms</a>#8e39261e flags:<a href="/type/%23" >#</a> phone_number:<a href="/type/string" >string</a> phone_code_hash:<a href="/type/string" >string</a> safety_net_token:flags.0?<a href="/type/string" >string</a> play_integrity_token:flags.2?<a href="/type/string" >string</a> ios_push_secret:flags.1?<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/auth.reportMissingCode" >auth.reportMissingCode</a>#cb9deff6 phone_number:<a href="/type/string" >string</a> phone_code_hash:<a href="/type/string" >string</a> mnc:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.registerDevice" >account.registerDevice</a>#ec86017a flags:<a href="/type/%23" >#</a> no_muted:flags.0?true token_type:<a href="/type/int" >int</a> token:<a href="/type/string" >string</a> app_sandbox:<a href="/type/Bool" class="current_page_link" >Bool</a> secret:<a href="/type/bytes" >bytes</a> other_uids:<a href="/type/Vector%20t" >Vector</a><<a href="/type/long" >long</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.unregisterDevice" >account.unregisterDevice</a>#6a0d3206 token_type:<a href="/type/int" >int</a> token:<a href="/type/string" >string</a> other_uids:<a href="/type/Vector%20t" >Vector</a><<a href="/type/long" >long</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updateNotifySettings" >account.updateNotifySettings</a>#84be5b93 peer:<a href="/type/InputNotifyPeer" >InputNotifyPeer</a> settings:<a href="/type/InputPeerNotifySettings" >InputPeerNotifySettings</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.resetNotifySettings" >account.resetNotifySettings</a>#db7e1747 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updateStatus" >account.updateStatus</a>#6628562c offline:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.reportPeer" >account.reportPeer</a>#c5ba3d86 peer:<a href="/type/InputPeer" >InputPeer</a> reason:<a href="/type/ReportReason" >ReportReason</a> message:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.checkUsername" >account.checkUsername</a>#2714d86c username:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.deleteAccount" >account.deleteAccount</a>#a2c0cf74 flags:<a href="/type/%23" >#</a> reason:<a href="/type/string" >string</a> password:flags.0?<a href="/type/InputCheckPasswordSRP" >InputCheckPasswordSRP</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.setAccountTTL" >account.setAccountTTL</a>#2442485e ttl:<a href="/type/AccountDaysTTL" >AccountDaysTTL</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updateDeviceLocked" >account.updateDeviceLocked</a>#38df3532 period:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.resetAuthorization" >account.resetAuthorization</a>#df77f3bc hash:<a href="/type/long" >long</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updatePasswordSettings" >account.updatePasswordSettings</a>#a59b102f password:<a href="/type/InputCheckPasswordSRP" >InputCheckPasswordSRP</a> new_settings:<a href="/type/account.PasswordInputSettings" >account.PasswordInputSettings</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.confirmPhone" >account.confirmPhone</a>#5f2178c3 phone_code_hash:<a href="/type/string" >string</a> phone_code:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.resetWebAuthorization" >account.resetWebAuthorization</a>#2d01b9ef hash:<a href="/type/long" >long</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.resetWebAuthorizations" >account.resetWebAuthorizations</a>#682d2594 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.deleteSecureValue" >account.deleteSecureValue</a>#b880bc4b types:<a href="/type/Vector%20t" >Vector</a><<a href="/type/SecureValueType" >SecureValueType</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.acceptAuthorization" >account.acceptAuthorization</a>#f3ed4c73 bot_id:<a href="/type/long" >long</a> scope:<a href="/type/string" >string</a> public_key:<a href="/type/string" >string</a> value_hashes:<a href="/type/Vector%20t" >Vector</a><<a href="/type/SecureValueHash" >SecureValueHash</a>> credentials:<a href="/type/SecureCredentialsEncrypted" >SecureCredentialsEncrypted</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.verifyPhone" >account.verifyPhone</a>#4dd3a7f6 phone_number:<a href="/type/string" >string</a> phone_code_hash:<a href="/type/string" >string</a> phone_code:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.finishTakeoutSession" >account.finishTakeoutSession</a>#1d2652ee flags:<a href="/type/%23" >#</a> success:flags.0?true = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.confirmPasswordEmail" >account.confirmPasswordEmail</a>#8fdf1920 code:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.resendPasswordEmail" >account.resendPasswordEmail</a>#7a7f2a15 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.cancelPasswordEmail" >account.cancelPasswordEmail</a>#c1cbd5b6 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.getContactSignUpNotification" >account.getContactSignUpNotification</a>#9f07c728 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.setContactSignUpNotification" >account.setContactSignUpNotification</a>#cff43f61 silent:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.saveWallPaper" >account.saveWallPaper</a>#6c5a5b37 wallpaper:<a href="/type/InputWallPaper" >InputWallPaper</a> unsave:<a href="/type/Bool" class="current_page_link" >Bool</a> settings:<a href="/type/WallPaperSettings" >WallPaperSettings</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.installWallPaper" >account.installWallPaper</a>#feed5769 wallpaper:<a href="/type/InputWallPaper" >InputWallPaper</a> settings:<a href="/type/WallPaperSettings" >WallPaperSettings</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.resetWallPapers" >account.resetWallPapers</a>#bb3b9804 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.saveAutoDownloadSettings" >account.saveAutoDownloadSettings</a>#76f36233 flags:<a href="/type/%23" >#</a> low:flags.0?true high:flags.1?true settings:<a href="/type/AutoDownloadSettings" >AutoDownloadSettings</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.saveTheme" >account.saveTheme</a>#f257106c theme:<a href="/type/InputTheme" >InputTheme</a> unsave:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.installTheme" >account.installTheme</a>#c727bb3b flags:<a href="/type/%23" >#</a> dark:flags.0?true theme:flags.1?<a href="/type/InputTheme" >InputTheme</a> format:flags.2?<a href="/type/string" >string</a> base_theme:flags.3?<a href="/type/BaseTheme" >BaseTheme</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.setContentSettings" >account.setContentSettings</a>#b574b16b flags:<a href="/type/%23" >#</a> sensitive_enabled:flags.0?true = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.reportProfilePhoto" >account.reportProfilePhoto</a>#fa8cc6f5 peer:<a href="/type/InputPeer" >InputPeer</a> photo_id:<a href="/type/InputPhoto" >InputPhoto</a> reason:<a href="/type/ReportReason" >ReportReason</a> message:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.declinePasswordReset" >account.declinePasswordReset</a>#4c9409f6 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.setAuthorizationTTL" >account.setAuthorizationTTL</a>#bf899aa0 authorization_ttl_days:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.changeAuthorizationSettings" >account.changeAuthorizationSettings</a>#40f48462 flags:<a href="/type/%23" >#</a> confirmed:flags.3?true hash:<a href="/type/long" >long</a> encrypted_requests_disabled:flags.0?<a href="/type/Bool" class="current_page_link" >Bool</a> call_requests_disabled:flags.1?<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updateEmojiStatus" >account.updateEmojiStatus</a>#fbd3de6b emoji_status:<a href="/type/EmojiStatus" >EmojiStatus</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.clearRecentEmojiStatuses" >account.clearRecentEmojiStatuses</a>#18201aae = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.reorderUsernames" >account.reorderUsernames</a>#ef500eab order:<a href="/type/Vector%20t" >Vector</a><<a href="/type/string" >string</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.toggleUsername" >account.toggleUsername</a>#58d6b376 username:<a href="/type/string" >string</a> active:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.saveAutoSaveSettings" >account.saveAutoSaveSettings</a>#d69b8361 flags:<a href="/type/%23" >#</a> users:flags.0?true chats:flags.1?true broadcasts:flags.2?true peer:flags.3?<a href="/type/InputPeer" >InputPeer</a> settings:<a href="/type/AutoSaveSettings" >AutoSaveSettings</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.deleteAutoSaveExceptions" >account.deleteAutoSaveExceptions</a>#53bc0020 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.invalidateSignInCodes" >account.invalidateSignInCodes</a>#ca8ae8ba codes:<a href="/type/Vector%20t" >Vector</a><<a href="/type/string" >string</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updateColor" >account.updateColor</a>#7cefa15d flags:<a href="/type/%23" >#</a> for_profile:flags.1?true color:flags.2?<a href="/type/int" >int</a> background_emoji_id:flags.0?<a href="/type/long" >long</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updateBusinessWorkHours" >account.updateBusinessWorkHours</a>#4b00e066 flags:<a href="/type/%23" >#</a> business_work_hours:flags.0?<a href="/type/BusinessWorkHours" >BusinessWorkHours</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updateBusinessLocation" >account.updateBusinessLocation</a>#9e6b131a flags:<a href="/type/%23" >#</a> geo_point:flags.1?<a href="/type/InputGeoPoint" >InputGeoPoint</a> address:flags.0?<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updateBusinessGreetingMessage" >account.updateBusinessGreetingMessage</a>#66cdafc4 flags:<a href="/type/%23" >#</a> message:flags.0?<a href="/type/InputBusinessGreetingMessage" >InputBusinessGreetingMessage</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updateBusinessAwayMessage" >account.updateBusinessAwayMessage</a>#a26a7fa5 flags:<a href="/type/%23" >#</a> message:flags.0?<a href="/type/InputBusinessAwayMessage" >InputBusinessAwayMessage</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updateBusinessIntro" >account.updateBusinessIntro</a>#a614d034 flags:<a href="/type/%23" >#</a> intro:flags.0?<a href="/type/InputBusinessIntro" >InputBusinessIntro</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.toggleConnectedBotPaused" >account.toggleConnectedBotPaused</a>#646e1097 peer:<a href="/type/InputPeer" >InputPeer</a> paused:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.disablePeerConnectedBot" >account.disablePeerConnectedBot</a>#5e437ed9 peer:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updateBirthday" >account.updateBirthday</a>#cc6e0c11 flags:<a href="/type/%23" >#</a> birthday:flags.0?<a href="/type/Birthday" >Birthday</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.deleteBusinessChatLink" >account.deleteBusinessChatLink</a>#60073674 slug:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.updatePersonalChannel" >account.updatePersonalChannel</a>#d94305e0 channel:<a href="/type/InputChannel" >InputChannel</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/account.toggleSponsoredMessages" >account.toggleSponsoredMessages</a>#b9d9a38d enabled:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/contacts.deleteByPhones" >contacts.deleteByPhones</a>#1013fd9e phones:<a href="/type/Vector%20t" >Vector</a><<a href="/type/string" >string</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/contacts.block" >contacts.block</a>#2e2e8734 flags:<a href="/type/%23" >#</a> my_stories_from:flags.0?true id:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/contacts.unblock" >contacts.unblock</a>#b550d328 flags:<a href="/type/%23" >#</a> my_stories_from:flags.0?true id:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/contacts.resetTopPeerRating" >contacts.resetTopPeerRating</a>#1ae373ac category:<a href="/type/TopPeerCategory" >TopPeerCategory</a> peer:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/contacts.resetSaved" >contacts.resetSaved</a>#879537f1 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/contacts.toggleTopPeers" >contacts.toggleTopPeers</a>#8514bdda enabled:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/contacts.editCloseFriends" >contacts.editCloseFriends</a>#ba6705f0 id:<a href="/type/Vector%20t" >Vector</a><<a href="/type/long" >long</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/contacts.setBlocked" >contacts.setBlocked</a>#94c65c76 flags:<a href="/type/%23" >#</a> my_stories_from:flags.0?true id:<a href="/type/Vector%20t" >Vector</a><<a href="/type/InputPeer" >InputPeer</a>> limit:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.setTyping" >messages.setTyping</a>#58943ee2 flags:<a href="/type/%23" >#</a> peer:<a href="/type/InputPeer" >InputPeer</a> top_msg_id:flags.0?<a href="/type/int" >int</a> action:<a href="/type/SendMessageAction" >SendMessageAction</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.reportSpam" >messages.reportSpam</a>#cf1592db peer:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.report" >messages.report</a>#8953ab4e peer:<a href="/type/InputPeer" >InputPeer</a> id:<a href="/type/Vector%20t" >Vector</a><<a href="/type/int" >int</a>> reason:<a href="/type/ReportReason" >ReportReason</a> message:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.discardEncryption" >messages.discardEncryption</a>#f393aea0 flags:<a href="/type/%23" >#</a> delete_history:flags.0?true chat_id:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.setEncryptedTyping" >messages.setEncryptedTyping</a>#791451ed peer:<a href="/type/InputEncryptedChat" >InputEncryptedChat</a> typing:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.readEncryptedHistory" >messages.readEncryptedHistory</a>#7f4b690a peer:<a href="/type/InputEncryptedChat" >InputEncryptedChat</a> max_date:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.reportEncryptedSpam" >messages.reportEncryptedSpam</a>#4b0c8c0f peer:<a href="/type/InputEncryptedChat" >InputEncryptedChat</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.uninstallStickerSet" >messages.uninstallStickerSet</a>#f96e55de stickerset:<a href="/type/InputStickerSet" >InputStickerSet</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.editChatAdmin" >messages.editChatAdmin</a>#a85bd1c2 chat_id:<a href="/type/long" >long</a> user_id:<a href="/type/InputUser" >InputUser</a> is_admin:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.reorderStickerSets" >messages.reorderStickerSets</a>#78337739 flags:<a href="/type/%23" >#</a> masks:flags.0?true emojis:flags.1?true order:<a href="/type/Vector%20t" >Vector</a><<a href="/type/long" >long</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.saveGif" >messages.saveGif</a>#327a30cb id:<a href="/type/InputDocument" >InputDocument</a> unsave:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.setInlineBotResults" >messages.setInlineBotResults</a>#bb12a419 flags:<a href="/type/%23" >#</a> gallery:flags.0?true private:flags.1?true query_id:<a href="/type/long" >long</a> results:<a href="/type/Vector%20t" >Vector</a><<a href="/type/InputBotInlineResult" >InputBotInlineResult</a>> cache_time:<a href="/type/int" >int</a> next_offset:flags.2?<a href="/type/string" >string</a> switch_pm:flags.3?<a href="/type/InlineBotSwitchPM" >InlineBotSwitchPM</a> switch_webview:flags.4?<a href="/type/InlineBotWebView" >InlineBotWebView</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.editInlineBotMessage" >messages.editInlineBotMessage</a>#83557dba flags:<a href="/type/%23" >#</a> no_webpage:flags.1?true invert_media:flags.16?true id:<a href="/type/InputBotInlineMessageID" >InputBotInlineMessageID</a> message:flags.11?<a href="/type/string" >string</a> media:flags.14?<a href="/type/InputMedia" >InputMedia</a> reply_markup:flags.2?<a href="/type/ReplyMarkup" >ReplyMarkup</a> entities:flags.3?<a href="/type/Vector%20t" >Vector</a><<a href="/type/MessageEntity" >MessageEntity</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.setBotCallbackAnswer" >messages.setBotCallbackAnswer</a>#d58f130a flags:<a href="/type/%23" >#</a> alert:flags.1?true query_id:<a href="/type/long" >long</a> message:flags.0?<a href="/type/string" >string</a> url:flags.2?<a href="/type/string" >string</a> cache_time:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.saveDraft" >messages.saveDraft</a>#d372c5ce flags:<a href="/type/%23" >#</a> no_webpage:flags.1?true invert_media:flags.6?true reply_to:flags.4?<a href="/type/InputReplyTo" >InputReplyTo</a> peer:<a href="/type/InputPeer" >InputPeer</a> message:<a href="/type/string" >string</a> entities:flags.3?<a href="/type/Vector%20t" >Vector</a><<a href="/type/MessageEntity" >MessageEntity</a>> media:flags.5?<a href="/type/InputMedia" >InputMedia</a> effect:flags.7?<a href="/type/long" >long</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.readFeaturedStickers" >messages.readFeaturedStickers</a>#5b118126 id:<a href="/type/Vector%20t" >Vector</a><<a href="/type/long" >long</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.saveRecentSticker" >messages.saveRecentSticker</a>#392718f8 flags:<a href="/type/%23" >#</a> attached:flags.0?true id:<a href="/type/InputDocument" >InputDocument</a> unsave:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.clearRecentStickers" >messages.clearRecentStickers</a>#8999602d flags:<a href="/type/%23" >#</a> attached:flags.0?true = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.setInlineGameScore" >messages.setInlineGameScore</a>#15ad9f64 flags:<a href="/type/%23" >#</a> edit_message:flags.0?true force:flags.1?true id:<a href="/type/InputBotInlineMessageID" >InputBotInlineMessageID</a> user_id:<a href="/type/InputUser" >InputUser</a> score:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.toggleDialogPin" >messages.toggleDialogPin</a>#a731e257 flags:<a href="/type/%23" >#</a> pinned:flags.0?true peer:<a href="/type/InputDialogPeer" >InputDialogPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.reorderPinnedDialogs" >messages.reorderPinnedDialogs</a>#3b1adf37 flags:<a href="/type/%23" >#</a> force:flags.0?true folder_id:<a href="/type/int" >int</a> order:<a href="/type/Vector%20t" >Vector</a><<a href="/type/InputDialogPeer" >InputDialogPeer</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.setBotShippingResults" >messages.setBotShippingResults</a>#e5f672fa flags:<a href="/type/%23" >#</a> query_id:<a href="/type/long" >long</a> error:flags.0?<a href="/type/string" >string</a> shipping_options:flags.1?<a href="/type/Vector%20t" >Vector</a><<a href="/type/ShippingOption" >ShippingOption</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.setBotPrecheckoutResults" >messages.setBotPrecheckoutResults</a>#9c2dd95 flags:<a href="/type/%23" >#</a> success:flags.1?true query_id:<a href="/type/long" >long</a> error:flags.0?<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.faveSticker" >messages.faveSticker</a>#b9ffc55b id:<a href="/type/InputDocument" >InputDocument</a> unfave:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.markDialogUnread" >messages.markDialogUnread</a>#c286d98f flags:<a href="/type/%23" >#</a> unread:flags.0?true peer:<a href="/type/InputDialogPeer" >InputDialogPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.clearAllDrafts" >messages.clearAllDrafts</a>#7e58ee9c = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.editChatAbout" >messages.editChatAbout</a>#def60797 peer:<a href="/type/InputPeer" >InputPeer</a> about:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.hidePeerSettingsBar" >messages.hidePeerSettingsBar</a>#4facb138 peer:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.toggleStickerSets" >messages.toggleStickerSets</a>#b5052fea flags:<a href="/type/%23" >#</a> uninstall:flags.0?true archive:flags.1?true unarchive:flags.2?true stickersets:<a href="/type/Vector%20t" >Vector</a><<a href="/type/InputStickerSet" >InputStickerSet</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.updateDialogFilter" >messages.updateDialogFilter</a>#1ad4a04a flags:<a href="/type/%23" >#</a> id:<a href="/type/int" >int</a> filter:flags.0?<a href="/type/DialogFilter" >DialogFilter</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.updateDialogFiltersOrder" >messages.updateDialogFiltersOrder</a>#c563c1e4 order:<a href="/type/Vector%20t" >Vector</a><<a href="/type/int" >int</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.readDiscussion" >messages.readDiscussion</a>#f731a9f4 peer:<a href="/type/InputPeer" >InputPeer</a> msg_id:<a href="/type/int" >int</a> read_max_id:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.deleteChat" >messages.deleteChat</a>#5bd0ee50 chat_id:<a href="/type/long" >long</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.startHistoryImport" >messages.startHistoryImport</a>#b43df344 peer:<a href="/type/InputPeer" >InputPeer</a> import_id:<a href="/type/long" >long</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.deleteRevokedExportedChatInvites" >messages.deleteRevokedExportedChatInvites</a>#56987bd5 peer:<a href="/type/InputPeer" >InputPeer</a> admin_id:<a href="/type/InputUser" >InputUser</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.deleteExportedChatInvite" >messages.deleteExportedChatInvite</a>#d464a42b peer:<a href="/type/InputPeer" >InputPeer</a> link:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.saveDefaultSendAs" >messages.saveDefaultSendAs</a>#ccfddf96 peer:<a href="/type/InputPeer" >InputPeer</a> send_as:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.setDefaultReaction" >messages.setDefaultReaction</a>#4f47a016 reaction:<a href="/type/Reaction" >Reaction</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.toggleBotInAttachMenu" >messages.toggleBotInAttachMenu</a>#69f59d69 flags:<a href="/type/%23" >#</a> write_allowed:flags.0?true bot:<a href="/type/InputUser" >InputUser</a> enabled:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.prolongWebView" >messages.prolongWebView</a>#b0d81a83 flags:<a href="/type/%23" >#</a> silent:flags.5?true peer:<a href="/type/InputPeer" >InputPeer</a> bot:<a href="/type/InputUser" >InputUser</a> query_id:<a href="/type/long" >long</a> reply_to:flags.0?<a href="/type/InputReplyTo" >InputReplyTo</a> send_as:flags.13?<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.rateTranscribedAudio" >messages.rateTranscribedAudio</a>#7f1d072f peer:<a href="/type/InputPeer" >InputPeer</a> msg_id:<a href="/type/int" >int</a> transcription_id:<a href="/type/long" >long</a> good:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.reportReaction" >messages.reportReaction</a>#3f64c076 peer:<a href="/type/InputPeer" >InputPeer</a> id:<a href="/type/int" >int</a> reaction_peer:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.clearRecentReactions" >messages.clearRecentReactions</a>#9dfeefb4 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.setDefaultHistoryTTL" >messages.setDefaultHistoryTTL</a>#9eb51445 period:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.togglePeerTranslations" >messages.togglePeerTranslations</a>#e47cb579 flags:<a href="/type/%23" >#</a> disabled:flags.0?true peer:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.toggleSavedDialogPin" >messages.toggleSavedDialogPin</a>#ac81bbde flags:<a href="/type/%23" >#</a> pinned:flags.0?true peer:<a href="/type/InputDialogPeer" >InputDialogPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.reorderPinnedSavedDialogs" >messages.reorderPinnedSavedDialogs</a>#8b716587 flags:<a href="/type/%23" >#</a> force:flags.0?true order:<a href="/type/Vector%20t" >Vector</a><<a href="/type/InputDialogPeer" >InputDialogPeer</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.updateSavedReactionTag" >messages.updateSavedReactionTag</a>#60297dec flags:<a href="/type/%23" >#</a> reaction:<a href="/type/Reaction" >Reaction</a> title:flags.0?<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.reorderQuickReplies" >messages.reorderQuickReplies</a>#60331907 order:<a href="/type/Vector%20t" >Vector</a><<a href="/type/int" >int</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.checkQuickReplyShortcut" >messages.checkQuickReplyShortcut</a>#f1d0fbd3 shortcut:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.editQuickReplyShortcut" >messages.editQuickReplyShortcut</a>#5c003cef shortcut_id:<a href="/type/int" >int</a> shortcut:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.deleteQuickReplyShortcut" >messages.deleteQuickReplyShortcut</a>#3cc04740 shortcut_id:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/messages.toggleDialogFilterTags" >messages.toggleDialogFilterTags</a>#fd2dda49 enabled:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/upload.saveFilePart" >upload.saveFilePart</a>#b304a621 file_id:<a href="/type/long" >long</a> file_part:<a href="/type/int" >int</a> bytes:<a href="/type/bytes" >bytes</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/upload.saveBigFilePart" >upload.saveBigFilePart</a>#de7b673d file_id:<a href="/type/long" >long</a> file_part:<a href="/type/int" >int</a> file_total_parts:<a href="/type/int" >int</a> bytes:<a href="/type/bytes" >bytes</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.readHistory" >channels.readHistory</a>#cc104937 channel:<a href="/type/InputChannel" >InputChannel</a> max_id:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.reportSpam" >channels.reportSpam</a>#f44a8315 channel:<a href="/type/InputChannel" >InputChannel</a> participant:<a href="/type/InputPeer" >InputPeer</a> id:<a href="/type/Vector%20t" >Vector</a><<a href="/type/int" >int</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.checkUsername" >channels.checkUsername</a>#10e6bd2c channel:<a href="/type/InputChannel" >InputChannel</a> username:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.updateUsername" >channels.updateUsername</a>#3514b3de channel:<a href="/type/InputChannel" >InputChannel</a> username:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.setStickers" >channels.setStickers</a>#ea8ca4f9 channel:<a href="/type/InputChannel" >InputChannel</a> stickerset:<a href="/type/InputStickerSet" >InputStickerSet</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.readMessageContents" >channels.readMessageContents</a>#eab5dc38 channel:<a href="/type/InputChannel" >InputChannel</a> id:<a href="/type/Vector%20t" >Vector</a><<a href="/type/int" >int</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.setDiscussionGroup" >channels.setDiscussionGroup</a>#40582bb2 broadcast:<a href="/type/InputChannel" >InputChannel</a> group:<a href="/type/InputChannel" >InputChannel</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.editLocation" >channels.editLocation</a>#58e63f6d channel:<a href="/type/InputChannel" >InputChannel</a> geo_point:<a href="/type/InputGeoPoint" >InputGeoPoint</a> address:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.viewSponsoredMessage" >channels.viewSponsoredMessage</a>#beaedb94 channel:<a href="/type/InputChannel" >InputChannel</a> random_id:<a href="/type/bytes" >bytes</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.reorderUsernames" >channels.reorderUsernames</a>#b45ced1d channel:<a href="/type/InputChannel" >InputChannel</a> order:<a href="/type/Vector%20t" >Vector</a><<a href="/type/string" >string</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.toggleUsername" >channels.toggleUsername</a>#50f24105 channel:<a href="/type/InputChannel" >InputChannel</a> username:<a href="/type/string" >string</a> active:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.deactivateAllUsernames" >channels.deactivateAllUsernames</a>#a245dd3 channel:<a href="/type/InputChannel" >InputChannel</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.reportAntiSpamFalsePositive" >channels.reportAntiSpamFalsePositive</a>#a850a693 channel:<a href="/type/InputChannel" >InputChannel</a> msg_id:<a href="/type/int" >int</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.clickSponsoredMessage" >channels.clickSponsoredMessage</a>#18afbc93 channel:<a href="/type/InputChannel" >InputChannel</a> random_id:<a href="/type/bytes" >bytes</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/channels.setEmojiStickers" >channels.setEmojiStickers</a>#3cd930b7 channel:<a href="/type/InputChannel" >InputChannel</a> stickerset:<a href="/type/InputStickerSet" >InputStickerSet</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/help.setBotUpdatesStatus" >help.setBotUpdatesStatus</a>#ec22cfcd pending_updates_count:<a href="/type/int" >int</a> message:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/help.acceptTermsOfService" >help.acceptTermsOfService</a>#ee72f79a id:<a href="/type/DataJSON" >DataJSON</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/help.saveAppLog" >help.saveAppLog</a>#6f02f748 events:<a href="/type/Vector%20t" >Vector</a><<a href="/type/InputAppEvent" >InputAppEvent</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/help.hidePromoData" >help.hidePromoData</a>#1e251c95 peer:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/help.dismissSuggestion" >help.dismissSuggestion</a>#f50dbaa1 peer:<a href="/type/InputPeer" >InputPeer</a> suggestion:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.answerWebhookJSONQuery" >bots.answerWebhookJSONQuery</a>#e6213f4d query_id:<a href="/type/long" >long</a> data:<a href="/type/DataJSON" >DataJSON</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.setBotCommands" >bots.setBotCommands</a>#517165a scope:<a href="/type/BotCommandScope" >BotCommandScope</a> lang_code:<a href="/type/string" >string</a> commands:<a href="/type/Vector%20t" >Vector</a><<a href="/type/BotCommand" >BotCommand</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.resetBotCommands" >bots.resetBotCommands</a>#3d8de0f9 scope:<a href="/type/BotCommandScope" >BotCommandScope</a> lang_code:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.setBotMenuButton" >bots.setBotMenuButton</a>#4504d54f user_id:<a href="/type/InputUser" >InputUser</a> button:<a href="/type/BotMenuButton" >BotMenuButton</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.setBotBroadcastDefaultAdminRights" >bots.setBotBroadcastDefaultAdminRights</a>#788464e1 admin_rights:<a href="/type/ChatAdminRights" >ChatAdminRights</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.setBotGroupDefaultAdminRights" >bots.setBotGroupDefaultAdminRights</a>#925ec9ea admin_rights:<a href="/type/ChatAdminRights" >ChatAdminRights</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.setBotInfo" >bots.setBotInfo</a>#10cf3123 flags:<a href="/type/%23" >#</a> bot:flags.2?<a href="/type/InputUser" >InputUser</a> lang_code:<a href="/type/string" >string</a> name:flags.3?<a href="/type/string" >string</a> about:flags.0?<a href="/type/string" >string</a> description:flags.1?<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.reorderUsernames" >bots.reorderUsernames</a>#9709b1c2 bot:<a href="/type/InputUser" >InputUser</a> order:<a href="/type/Vector%20t" >Vector</a><<a href="/type/string" >string</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.toggleUsername" >bots.toggleUsername</a>#53ca973 bot:<a href="/type/InputUser" >InputUser</a> username:<a href="/type/string" >string</a> active:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.canSendMessage" >bots.canSendMessage</a>#1359f4e6 bot:<a href="/type/InputUser" >InputUser</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.deletePreviewMedia" >bots.deletePreviewMedia</a>#2d0135b3 bot:<a href="/type/InputUser" >InputUser</a> lang_code:<a href="/type/string" >string</a> media:<a href="/type/Vector%20t" >Vector</a><<a href="/type/InputMedia" >InputMedia</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/bots.reorderPreviewMedias" >bots.reorderPreviewMedias</a>#b627f3aa bot:<a href="/type/InputUser" >InputUser</a> lang_code:<a href="/type/string" >string</a> order:<a href="/type/Vector%20t" >Vector</a><<a href="/type/InputMedia" >InputMedia</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/payments.clearSavedInfo" >payments.clearSavedInfo</a>#d83d70c1 flags:<a href="/type/%23" >#</a> credentials:flags.0?true info:flags.1?true = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/payments.canPurchasePremium" >payments.canPurchasePremium</a>#9fc19eb6 purpose:<a href="/type/InputStorePaymentPurpose" >InputStorePaymentPurpose</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/phone.receivedCall" >phone.receivedCall</a>#17d54f61 peer:<a href="/type/InputPhoneCall" >InputPhoneCall</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/phone.saveCallDebug" >phone.saveCallDebug</a>#277add7e peer:<a href="/type/InputPhoneCall" >InputPhoneCall</a> debug:<a href="/type/DataJSON" >DataJSON</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/phone.sendSignalingData" >phone.sendSignalingData</a>#ff7a9383 peer:<a href="/type/InputPhoneCall" >InputPhoneCall</a> data:<a href="/type/bytes" >bytes</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/phone.saveDefaultGroupCallJoinAs" >phone.saveDefaultGroupCallJoinAs</a>#575e1f8c peer:<a href="/type/InputPeer" >InputPeer</a> join_as:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/phone.saveCallLog" >phone.saveCallLog</a>#41248786 peer:<a href="/type/InputPhoneCall" >InputPhoneCall</a> file:<a href="/type/InputFile" >InputFile</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/users.setSecureValueErrors" >users.setSecureValueErrors</a>#90c894b5 id:<a href="/type/InputUser" >InputUser</a> errors:<a href="/type/Vector%20t" >Vector</a><<a href="/type/SecureValueError" >SecureValueError</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/stickers.checkShortName" >stickers.checkShortName</a>#284b3639 short_name:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/stickers.deleteStickerSet" >stickers.deleteStickerSet</a>#87704394 stickerset:<a href="/type/InputStickerSet" >InputStickerSet</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/chatlists.deleteExportedInvite" >chatlists.deleteExportedInvite</a>#719c5c5e chatlist:<a href="/type/InputChatlist" >InputChatlist</a> slug:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/chatlists.hideChatlistUpdates" >chatlists.hideChatlistUpdates</a>#66e486fb chatlist:<a href="/type/InputChatlist" >InputChatlist</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/stories.canSendStory" >stories.canSendStory</a>#c7dfdfdd peer:<a href="/type/InputPeer" >InputPeer</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/stories.toggleAllStoriesHidden" >stories.toggleAllStoriesHidden</a>#7c2557c4 hidden:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/stories.incrementStoryViews" >stories.incrementStoryViews</a>#b2028afb peer:<a href="/type/InputPeer" >InputPeer</a> id:<a href="/type/Vector%20t" >Vector</a><<a href="/type/int" >int</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/stories.report" >stories.report</a>#1923fa8c peer:<a href="/type/InputPeer" >InputPeer</a> id:<a href="/type/Vector%20t" >Vector</a><<a href="/type/int" >int</a>> reason:<a href="/type/ReportReason" >ReportReason</a> message:<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/stories.togglePeerStoriesHidden" >stories.togglePeerStoriesHidden</a>#bd0415c4 peer:<a href="/type/InputPeer" >InputPeer</a> hidden:<a href="/type/Bool" class="current_page_link" >Bool</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/stories.togglePinnedToTop" >stories.togglePinnedToTop</a>#b297e9b peer:<a href="/type/InputPeer" >InputPeer</a> id:<a href="/type/Vector%20t" >Vector</a><<a href="/type/int" >int</a>> = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/smsjobs.join" >smsjobs.join</a>#a74ece2d = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/smsjobs.leave" >smsjobs.leave</a>#9898ad73 = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/smsjobs.updateSettings" >smsjobs.updateSettings</a>#93fa0bf flags:<a href="/type/%23" >#</a> allow_international:flags.0?true = <a href="/type/Bool" class="current_page_link" >Bool</a>; <a href="/method/smsjobs.finishJob" >smsjobs.finishJob</a>#4f1ebf24 flags:<a href="/type/%23" >#</a> job_id:<a href="/type/string" >string</a> error:flags.0?<a href="/type/string" >string</a> = <a href="/type/Bool" class="current_page_link" >Bool</a>;</code></pre></p> <h3><a class="anchor" href="#constructors" id="constructors" name="constructors"><i class="anchor-icon"></i></a>Constructors</h3> <table class="table"> <thead> <tr> <th>Constructor</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="/constructor/boolFalse">boolFalse</a></td> <td>Constructor may be interpreted as a <strong>boolean</strong><code>false</code> value.</td> </tr> <tr> <td><a href="/constructor/boolTrue">boolTrue</a></td> <td>The constructor can be interpreted as a <strong>boolean</strong><code>true</code> value.</td> </tr> </tbody> </table> <h3><a class="anchor" href="#methods" id="methods" name="methods"><i class="anchor-icon"></i></a>Methods</h3> <table class="table"> <thead> <tr> <th>Method</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="/method/auth.resetAuthorizations">auth.resetAuthorizations</a></td> <td>Terminates all user's authorized sessions except for the current one.<br><br>After calling this method it is necessary to reregister the current device using the method <a href="/method/account.registerDevice">account.registerDevice</a></td> </tr> <tr> <td><a href="/method/auth.bindTempAuthKey">auth.bindTempAuthKey</a></td> <td>Binds a temporary authorization key <code>temp_auth_key_id</code> to the permanent authorization key <code>perm_auth_key_id</code>. Each permanent key may only be bound to one temporary key at a time, binding a new temporary key overwrites the previous one.<br><br>For more information, see <a href="/api/pfs">Perfect Forward Secrecy</a>.</td> </tr> <tr> <td><a href="/method/account.registerDevice">account.registerDevice</a></td> <td>Register device to receive <a href="/api/push-updates">PUSH notifications</a></td> </tr> <tr> <td><a href="/method/account.unregisterDevice">account.unregisterDevice</a></td> <td>Deletes a device by its token, stops sending PUSH-notifications to it.</td> </tr> <tr> <td><a href="/method/account.updateNotifySettings">account.updateNotifySettings</a></td> <td>Edits notification settings from a given user/group, from all users/all groups.</td> </tr> <tr> <td><a href="/method/account.resetNotifySettings">account.resetNotifySettings</a></td> <td>Resets all notification settings from users and groups.</td> </tr> <tr> <td><a href="/method/account.updateStatus">account.updateStatus</a></td> <td>Updates online user status.</td> </tr> <tr> <td><a href="/method/account.reportPeer">account.reportPeer</a></td> <td>Report a peer for violation of telegram's Terms of Service</td> </tr> <tr> <td><a href="/method/contacts.deleteByPhones">contacts.deleteByPhones</a></td> <td>Delete contacts by phone number</td> </tr> <tr> <td><a href="/method/contacts.block">contacts.block</a></td> <td>Adds a peer to a blocklist, see <a href="/api/block">here 禄</a> for more info.</td> </tr> <tr> <td><a href="/method/contacts.unblock">contacts.unblock</a></td> <td>Deletes a peer from a blocklist, see <a href="/api/block">here 禄</a> for more info.</td> </tr> <tr> <td><a href="/method/messages.setTyping">messages.setTyping</a></td> <td>Sends a current user typing event (see <a href="/type/SendMessageAction">SendMessageAction</a> for all event types) to a conversation partner or group.</td> </tr> <tr> <td><a href="/method/messages.reportSpam">messages.reportSpam</a></td> <td>Report a new incoming chat for spam, if the <a href="/constructor/peerSettings">peer settings</a> of the chat allow us to do that</td> </tr> <tr> <td><a href="/method/messages.report">messages.report</a></td> <td>Report a message in a chat for violation of telegram's Terms of Service</td> </tr> <tr> <td><a href="/method/upload.saveFilePart">upload.saveFilePart</a></td> <td>Saves a part of file for further sending to one of the methods.</td> </tr> <tr> <td><a href="/method/messages.discardEncryption">messages.discardEncryption</a></td> <td>Cancels a request for creation and/or delete info on secret chat.</td> </tr> <tr> <td><a href="/method/messages.setEncryptedTyping">messages.setEncryptedTyping</a></td> <td>Send typing event by the current user to a secret chat.</td> </tr> <tr> <td><a href="/method/messages.readEncryptedHistory">messages.readEncryptedHistory</a></td> <td>Marks message history within a secret chat as read.</td> </tr> <tr> <td><a href="/method/messages.reportEncryptedSpam">messages.reportEncryptedSpam</a></td> <td>Report a secret chat for spam</td> </tr> <tr> <td><a href="/method/upload.saveBigFilePart">upload.saveBigFilePart</a></td> <td>Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.</td> </tr> <tr> <td><a href="/method/account.checkUsername">account.checkUsername</a></td> <td>Validates a username and checks availability.</td> </tr> <tr> <td><a href="/method/account.deleteAccount">account.deleteAccount</a></td> <td>Delete the user's account from the telegram servers.<br><br>Can also be used to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured, see <a href="/api/srp#password-recovery">here 禄</a> for more info on password recovery, and <a href="/api/account-deletion">here 禄</a> for more info on account deletion.</td> </tr> <tr> <td><a href="/method/account.setAccountTTL">account.setAccountTTL</a></td> <td>Set account self-destruction period</td> </tr> <tr> <td><a href="/method/account.updateDeviceLocked">account.updateDeviceLocked</a></td> <td>When client-side passcode lock feature is enabled, will not show message texts in incoming <a href="/api/push-updates">PUSH notifications</a>.</td> </tr> <tr> <td><a href="/method/account.resetAuthorization">account.resetAuthorization</a></td> <td>Log out an active <a href="/api/auth">authorized session</a> by its hash</td> </tr> <tr> <td><a href="/method/account.updatePasswordSettings">account.updatePasswordSettings</a></td> <td>Set a new 2FA password</td> </tr> <tr> <td><a href="/method/messages.uninstallStickerSet">messages.uninstallStickerSet</a></td> <td>Uninstall a stickerset</td> </tr> <tr> <td><a href="/method/channels.readHistory">channels.readHistory</a></td> <td>Mark <a href="/api/channel">channel/supergroup</a> history as read</td> </tr> <tr> <td><a href="/method/channels.reportSpam">channels.reportSpam</a></td> <td>Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup</td> </tr> <tr> <td><a href="/method/channels.checkUsername">channels.checkUsername</a></td> <td>Check if a username is free and can be assigned to a channel/supergroup</td> </tr> <tr> <td><a href="/method/channels.updateUsername">channels.updateUsername</a></td> <td>Change or remove the username of a supergroup/channel</td> </tr> <tr> <td><a href="/method/messages.editChatAdmin">messages.editChatAdmin</a></td> <td>Make a user admin in a <a href="/api/channel#basic-groups">basic group</a>.</td> </tr> <tr> <td><a href="/method/messages.reorderStickerSets">messages.reorderStickerSets</a></td> <td>Reorder installed stickersets</td> </tr> <tr> <td><a href="/method/messages.saveGif">messages.saveGif</a></td> <td>Add GIF to saved gifs list</td> </tr> <tr> <td><a href="/method/messages.setInlineBotResults">messages.setInlineBotResults</a></td> <td>Answer an inline query, for bots only</td> </tr> <tr> <td><a href="/method/auth.cancelCode">auth.cancelCode</a></td> <td>Cancel the login verification code</td> </tr> <tr> <td><a href="/method/messages.editInlineBotMessage">messages.editInlineBotMessage</a></td> <td>Edit an inline bot message</td> </tr> <tr> <td><a href="/method/messages.setBotCallbackAnswer">messages.setBotCallbackAnswer</a></td> <td>Set the callback answer to a user button press (bots only)</td> </tr> <tr> <td><a href="/method/contacts.resetTopPeerRating">contacts.resetTopPeerRating</a></td> <td>Reset <a href="/api/top-rating">rating</a> of top peer</td> </tr> <tr> <td><a href="/method/messages.saveDraft">messages.saveDraft</a></td> <td>Save a message <a href="/api/drafts">draft</a> associated to a chat.</td> </tr> <tr> <td><a href="/method/messages.readFeaturedStickers">messages.readFeaturedStickers</a></td> <td>Mark new featured stickers as read</td> </tr> <tr> <td><a href="/method/messages.saveRecentSticker">messages.saveRecentSticker</a></td> <td>Add/remove sticker from recent stickers list</td> </tr> <tr> <td><a href="/method/messages.clearRecentStickers">messages.clearRecentStickers</a></td> <td>Clear recent stickers</td> </tr> <tr> <td><a href="/method/account.confirmPhone">account.confirmPhone</a></td> <td>Confirm a phone number to cancel account deletion, for more info <a href="/api/account-deletion">click here 禄</a></td> </tr> <tr> <td><a href="/method/auth.dropTempAuthKeys">auth.dropTempAuthKeys</a></td> <td>Delete all temporary authorization keys <strong>except for</strong> the ones specified</td> </tr> <tr> <td><a href="/method/messages.setInlineGameScore">messages.setInlineGameScore</a></td> <td>Use this method to set the score of the specified user in a game sent as an inline message (bots only).</td> </tr> <tr> <td><a href="/method/help.setBotUpdatesStatus">help.setBotUpdatesStatus</a></td> <td>Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only</td> </tr> <tr> <td><a href="/method/messages.toggleDialogPin">messages.toggleDialogPin</a></td> <td>Pin/unpin a dialog</td> </tr> <tr> <td><a href="/method/messages.reorderPinnedDialogs">messages.reorderPinnedDialogs</a></td> <td>Reorder pinned dialogs</td> </tr> <tr> <td><a href="/method/bots.answerWebhookJSONQuery">bots.answerWebhookJSONQuery</a></td> <td>Answers a custom query; for bots only</td> </tr> <tr> <td><a href="/method/payments.clearSavedInfo">payments.clearSavedInfo</a></td> <td>Clear saved payment information</td> </tr> <tr> <td><a href="/method/messages.setBotShippingResults">messages.setBotShippingResults</a></td> <td>If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the bot will receive an <a href="/constructor/updateBotShippingQuery">updateBotShippingQuery</a> update. Use this method to reply to shipping queries.</td> </tr> <tr> <td><a href="/method/messages.setBotPrecheckoutResults">messages.setBotPrecheckoutResults</a></td> <td>Once the user has confirmed their payment and shipping details, the bot receives an <a href="/constructor/updateBotPrecheckoutQuery">updateBotPrecheckoutQuery</a> update. <br>Use this method to respond to such pre-checkout queries. <br><strong>Note</strong>: Telegram must receive an answer within 10 seconds after the pre-checkout query was sent.</td> </tr> <tr> <td><a href="/method/phone.receivedCall">phone.receivedCall</a></td> <td>Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended.</td> </tr> <tr> <td><a href="/method/phone.saveCallDebug">phone.saveCallDebug</a></td> <td>Send phone call debug data to server</td> </tr> <tr> <td><a href="/method/channels.setStickers">channels.setStickers</a></td> <td>Associate a stickerset to the supergroup</td> </tr> <tr> <td><a href="/method/messages.faveSticker">messages.faveSticker</a></td> <td>Mark or unmark a sticker as favorite</td> </tr> <tr> <td><a href="/method/channels.readMessageContents">channels.readMessageContents</a></td> <td>Mark <a href="/api/channel">channel/supergroup</a> message contents as read</td> </tr> <tr> <td><a href="/method/contacts.resetSaved">contacts.resetSaved</a></td> <td>Removes all contacts without an associated Telegram account.</td> </tr> <tr> <td><a href="/method/account.resetWebAuthorization">account.resetWebAuthorization</a></td> <td>Log out an active web <a href="/widgets/login">telegram login</a> session</td> </tr> <tr> <td><a href="/method/account.resetWebAuthorizations">account.resetWebAuthorizations</a></td> <td>Reset all active web <a href="/widgets/login">telegram login</a> sessions</td> </tr> <tr> <td><a href="/method/help.acceptTermsOfService">help.acceptTermsOfService</a></td> <td>Accept the new terms of service</td> </tr> <tr> <td><a href="/method/account.deleteSecureValue">account.deleteSecureValue</a></td> <td>Delete stored <a href="/passport">Telegram Passport</a> documents, <a href="/passport/encryption#encryption">for more info see the passport docs 禄</a></td> </tr> <tr> <td><a href="/method/users.setSecureValueErrors">users.setSecureValueErrors</a></td> <td>Notify the user that the sent <a href="/passport">passport</a> data contains some errors The user will not be able to re-submit their Passport data to you until the errors are fixed (the contents of the field for which you returned the error must change).<br><br>Use this if the data submitted by the user doesn't satisfy the standards your service requires for any reason. For example, if a birthday date seems invalid, a submitted document is blurry, a scan shows evidence of tampering, etc. Supply some details in the error message to make sure the user knows how to correct the issues.</td> </tr> <tr> <td><a href="/method/account.acceptAuthorization">account.acceptAuthorization</a></td> <td>Sends a Telegram Passport authorization form, effectively sharing data with the service</td> </tr> <tr> <td><a href="/method/account.verifyPhone">account.verifyPhone</a></td> <td>Verify a phone number for telegram <a href="/passport">passport</a>.</td> </tr> <tr> <td><a href="/method/account.finishTakeoutSession">account.finishTakeoutSession</a></td> <td>Terminate a <a href="/api/takeout">takeout session, see here 禄 for more info</a>.</td> </tr> <tr> <td><a href="/method/messages.markDialogUnread">messages.markDialogUnread</a></td> <td>Manually mark dialog as unread</td> </tr> <tr> <td><a href="/method/contacts.toggleTopPeers">contacts.toggleTopPeers</a></td> <td>Enable/disable <a href="/api/top-rating">top peers</a></td> </tr> <tr> <td><a href="/method/messages.clearAllDrafts">messages.clearAllDrafts</a></td> <td>Clear all <a href="/api/drafts">drafts</a>.</td> </tr> <tr> <td><a href="/method/help.saveAppLog">help.saveAppLog</a></td> <td>Saves logs of application on the server.</td> </tr> <tr> <td><a href="/method/account.confirmPasswordEmail">account.confirmPasswordEmail</a></td> <td>Verify an email to use as <a href="/api/srp">2FA recovery method</a>.</td> </tr> <tr> <td><a href="/method/account.resendPasswordEmail">account.resendPasswordEmail</a></td> <td>Resend the code to verify an email to use as <a href="/api/srp">2FA recovery method</a>.</td> </tr> <tr> <td><a href="/method/account.cancelPasswordEmail">account.cancelPasswordEmail</a></td> <td>Cancel the code that was sent to verify an email to use as <a href="/api/srp">2FA recovery method</a>.</td> </tr> <tr> <td><a href="/method/account.getContactSignUpNotification">account.getContactSignUpNotification</a></td> <td>Whether the user will receive notifications when contacts sign up</td> </tr> <tr> <td><a href="/method/account.setContactSignUpNotification">account.setContactSignUpNotification</a></td> <td>Toggle contact sign up notifications</td> </tr> <tr> <td><a href="/method/messages.editChatAbout">messages.editChatAbout</a></td> <td>Edit the description of a <a href="/api/channel">group/supergroup/channel</a>.</td> </tr> <tr> <td><a href="/method/account.saveWallPaper">account.saveWallPaper</a></td> <td>Install/uninstall <a href="/api/wallpapers">wallpaper</a></td> </tr> <tr> <td><a href="/method/account.installWallPaper">account.installWallPaper</a></td> <td>Install <a href="/api/wallpapers">wallpaper</a></td> </tr> <tr> <td><a href="/method/account.resetWallPapers">account.resetWallPapers</a></td> <td>Delete all installed <a href="/api/wallpapers">wallpapers</a>, reverting to the default wallpaper set.</td> </tr> <tr> <td><a href="/method/account.saveAutoDownloadSettings">account.saveAutoDownloadSettings</a></td> <td>Change media autodownload settings</td> </tr> <tr> <td><a href="/method/channels.setDiscussionGroup">channels.setDiscussionGroup</a></td> <td>Associate a group to a channel as <a href="/api/discussion">discussion group</a> for that channel</td> </tr> <tr> <td><a href="/method/messages.hidePeerSettingsBar">messages.hidePeerSettingsBar</a></td> <td>Should be called after the user hides the <a href="/api/action-bar">report spam/add as contact bar</a> of a new chat, effectively prevents the user from executing the actions specified in the <a href="/api/action-bar">action bar 禄</a>.</td> </tr> <tr> <td><a href="/method/channels.editLocation">channels.editLocation</a></td> <td>Edit location of geogroup, see <a href="/api/nearby">here 禄</a> for more info on geogroups.</td> </tr> <tr> <td><a href="/method/account.saveTheme">account.saveTheme</a></td> <td>Save a theme</td> </tr> <tr> <td><a href="/method/account.installTheme">account.installTheme</a></td> <td>Install a theme</td> </tr> <tr> <td><a href="/method/account.setContentSettings">account.setContentSettings</a></td> <td>Set sensitive content settings (for viewing or hiding NSFW content)</td> </tr> <tr> <td><a href="/method/messages.toggleStickerSets">messages.toggleStickerSets</a></td> <td>Apply changes to multiple stickersets</td> </tr> <tr> <td><a href="/method/messages.updateDialogFilter">messages.updateDialogFilter</a></td> <td>Update <a href="/api/folders">folder</a></td> </tr> <tr> <td><a href="/method/messages.updateDialogFiltersOrder">messages.updateDialogFiltersOrder</a></td> <td>Reorder <a href="/api/folders">folders</a></td> </tr> <tr> <td><a href="/method/bots.setBotCommands">bots.setBotCommands</a></td> <td>Set bot command list</td> </tr> <tr> <td><a href="/method/help.hidePromoData">help.hidePromoData</a></td> <td>Hide MTProxy/Public Service Announcement information</td> </tr> <tr> <td><a href="/method/phone.sendSignalingData">phone.sendSignalingData</a></td> <td>Send VoIP signaling data</td> </tr> <tr> <td><a href="/method/help.dismissSuggestion">help.dismissSuggestion</a></td> <td>Dismiss a <a href="/api/config#suggestions">suggestion, see here for more info 禄</a>.</td> </tr> <tr> <td><a href="/method/messages.readDiscussion">messages.readDiscussion</a></td> <td>Mark a <a href="/api/threads">thread</a> as read</td> </tr> <tr> <td><a href="/method/messages.deleteChat">messages.deleteChat</a></td> <td>Delete a <a href="/api/channel">chat</a></td> </tr> <tr> <td><a href="/method/messages.startHistoryImport">messages.startHistoryImport</a></td> <td>Complete the <a href="/api/import">history import process</a>, importing all messages into the chat. <br>To be called only after initializing the import with <a href="/method/messages.initHistoryImport">messages.initHistoryImport</a> and uploading all files using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>.</td> </tr> <tr> <td><a href="/method/messages.deleteRevokedExportedChatInvites">messages.deleteRevokedExportedChatInvites</a></td> <td>Delete all revoked chat invites</td> </tr> <tr> <td><a href="/method/messages.deleteExportedChatInvite">messages.deleteExportedChatInvite</a></td> <td>Delete a chat invite</td> </tr> <tr> <td><a href="/method/account.reportProfilePhoto">account.reportProfilePhoto</a></td> <td>Report a profile photo of a dialog</td> </tr> <tr> <td><a href="/method/phone.saveDefaultGroupCallJoinAs">phone.saveDefaultGroupCallJoinAs</a></td> <td>Set the default peer that will be used to join a group call in a specific dialog.</td> </tr> <tr> <td><a href="/method/stickers.checkShortName">stickers.checkShortName</a></td> <td>Check whether the given short name is available</td> </tr> <tr> <td><a href="/method/bots.resetBotCommands">bots.resetBotCommands</a></td> <td>Clear bot commands for the specified bot scope and language code</td> </tr> <tr> <td><a href="/method/account.declinePasswordReset">account.declinePasswordReset</a></td> <td>Abort a pending 2FA password reset, <a href="/api/srp#password-reset">see here for more info 禄</a></td> </tr> <tr> <td><a href="/method/auth.checkRecoveryPassword">auth.checkRecoveryPassword</a></td> <td>Check if the <a href="/api/srp">2FA recovery code</a> sent using <a href="/method/auth.requestPasswordRecovery">auth.requestPasswordRecovery</a> is valid, before passing it to <a href="/method/auth.recoverPassword">auth.recoverPassword</a>.</td> </tr> <tr> <td><a href="/method/channels.viewSponsoredMessage">channels.viewSponsoredMessage</a></td> <td>Mark a specific sponsored message as read</td> </tr> <tr> <td><a href="/method/messages.saveDefaultSendAs">messages.saveDefaultSendAs</a></td> <td>Change the default peer that should be used when sending messages, reactions, poll votes to a specific group</td> </tr> <tr> <td><a href="/method/account.setAuthorizationTTL">account.setAuthorizationTTL</a></td> <td>Set time-to-live of current session</td> </tr> <tr> <td><a href="/method/account.changeAuthorizationSettings">account.changeAuthorizationSettings</a></td> <td>Change settings related to a session.</td> </tr> <tr> <td><a href="/method/messages.setDefaultReaction">messages.setDefaultReaction</a></td> <td>Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using <a href="/method/help.getConfig">help.getConfig, <code>reactions_default</code> field</a>.</td> </tr> <tr> <td><a href="/method/messages.toggleBotInAttachMenu">messages.toggleBotInAttachMenu</a></td> <td>Enable or disable <a href="/api/bots/attach">web bot attachment menu 禄</a></td> </tr> <tr> <td><a href="/method/messages.prolongWebView">messages.prolongWebView</a></td> <td>Indicate to the server (from the user side) that the user is still using a web app.<br><br>If the method returns a <code>QUERY_ID_INVALID</code> error, the webview must be closed.</td> </tr> <tr> <td><a href="/method/bots.setBotMenuButton">bots.setBotMenuButton</a></td> <td>Sets the <a href="/api/bots/menu">menu button action 禄</a> for a given user or for all users</td> </tr> <tr> <td><a href="/method/bots.setBotBroadcastDefaultAdminRights">bots.setBotBroadcastDefaultAdminRights</a></td> <td>Set the default <a href="/api/rights#suggested-bot-rights">suggested admin rights</a> for bots being added as admins to channels, see <a href="/api/rights#suggested-bot-rights">here for more info on how to handle them 禄</a>.</td> </tr> <tr> <td><a href="/method/bots.setBotGroupDefaultAdminRights">bots.setBotGroupDefaultAdminRights</a></td> <td>Set the default <a href="/api/rights#suggested-bot-rights">suggested admin rights</a> for bots being added as admins to groups, see <a href="/api/rights#suggested-bot-rights">here for more info on how to handle them 禄</a>.</td> </tr> <tr> <td><a href="/method/phone.saveCallLog">phone.saveCallLog</a></td> <td>Save phone call debug information</td> </tr> <tr> <td><a href="/method/messages.rateTranscribedAudio">messages.rateTranscribedAudio</a></td> <td>Rate <a href="/api/transcribe">transcribed voice message</a></td> </tr> <tr> <td><a href="/method/payments.canPurchasePremium">payments.canPurchasePremium</a></td> <td>Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase, official apps only.</td> </tr> <tr> <td><a href="/method/account.updateEmojiStatus">account.updateEmojiStatus</a></td> <td>Set an <a href="/api/emoji-status">emoji status</a></td> </tr> <tr> <td><a href="/method/account.clearRecentEmojiStatuses">account.clearRecentEmojiStatuses</a></td> <td>Clears list of recently used <a href="/api/emoji-status">emoji statuses</a></td> </tr> <tr> <td><a href="/method/messages.reportReaction">messages.reportReaction</a></td> <td>Report a <a href="/api/reactions">message reaction</a></td> </tr> <tr> <td><a href="/method/messages.clearRecentReactions">messages.clearRecentReactions</a></td> <td>Clear recently used <a href="/api/reactions">message reactions</a></td> </tr> <tr> <td><a href="/method/account.reorderUsernames">account.reorderUsernames</a></td> <td>Reorder usernames associated with the currently logged-in user.</td> </tr> <tr> <td><a href="/method/account.toggleUsername">account.toggleUsername</a></td> <td>Activate or deactivate a purchased <a href="https://fragment.com">fragment.com</a> username associated to the currently logged-in user.</td> </tr> <tr> <td><a href="/method/channels.reorderUsernames">channels.reorderUsernames</a></td> <td>Reorder active usernames</td> </tr> <tr> <td><a href="/method/channels.toggleUsername">channels.toggleUsername</a></td> <td>Activate or deactivate a purchased <a href="https://fragment.com">fragment.com</a> username associated to a <a href="/api/channel">supergroup or channel</a> we own.</td> </tr> <tr> <td><a href="/method/channels.deactivateAllUsernames">channels.deactivateAllUsernames</a></td> <td>Disable all purchased usernames of a supergroup or channel</td> </tr> <tr> <td><a href="/method/channels.reportAntiSpamFalsePositive">channels.reportAntiSpamFalsePositive</a></td> <td>Report a <a href="/api/antispam">native antispam</a> false positive</td> </tr> <tr> <td><a href="/method/messages.setDefaultHistoryTTL">messages.setDefaultHistoryTTL</a></td> <td>Changes the default value of the Time-To-Live setting, applied to all new chats.</td> </tr> <tr> <td><a href="/method/auth.requestFirebaseSms">auth.requestFirebaseSms</a></td> <td>Request an SMS code via Firebase.</td> </tr> <tr> <td><a href="/method/messages.togglePeerTranslations">messages.togglePeerTranslations</a></td> <td>Show or hide the <a href="/api/translation">real-time chat translation popup</a> for a certain chat</td> </tr> <tr> <td><a href="/method/account.saveAutoSaveSettings">account.saveAutoSaveSettings</a></td> <td>Modify autosave settings</td> </tr> <tr> <td><a href="/method/account.deleteAutoSaveExceptions">account.deleteAutoSaveExceptions</a></td> <td>Clear all peer-specific autosave settings.</td> </tr> <tr> <td><a href="/method/stickers.deleteStickerSet">stickers.deleteStickerSet</a></td> <td>Deletes a stickerset we created.</td> </tr> <tr> <td><a href="/method/bots.setBotInfo">bots.setBotInfo</a></td> <td>Set localized name, about text and description of a bot (or of the current account, if called by a bot).</td> </tr> <tr> <td><a href="/method/chatlists.deleteExportedInvite">chatlists.deleteExportedInvite</a></td> <td>Delete a previously created <a href="/api/links#chat-folder-links">chat folder deep link 禄</a>.</td> </tr> <tr> <td><a href="/method/chatlists.hideChatlistUpdates">chatlists.hideChatlistUpdates</a></td> <td>Dismiss new pending peers recently added to a <a href="/api/links#chat-folder-links">chat folder deep link 禄</a>.</td> </tr> <tr> <td><a href="/method/bots.reorderUsernames">bots.reorderUsernames</a></td> <td>Reorder usernames associated to a bot we own.</td> </tr> <tr> <td><a href="/method/bots.toggleUsername">bots.toggleUsername</a></td> <td>Activate or deactivate a purchased <a href="https://fragment.com">fragment.com</a> username associated to a bot we own.</td> </tr> <tr> <td><a href="/method/account.invalidateSignInCodes">account.invalidateSignInCodes</a></td> <td>Invalidate the specified login codes, see <a href="/api/auth#invalidating-login-codes">here 禄</a> for more info.</td> </tr> <tr> <td><a href="/method/channels.clickSponsoredMessage">channels.clickSponsoredMessage</a></td> <td>Informs the server that the user has either:<br><br>- Clicked on a link in the sponsored message<br>- Has opened a sponsored chat or a sponsored website via the associated button<br>- Has opened the sponsored chat via the sponsored message name, the sponsored message photo, or a mention in the sponsored message</td> </tr> <tr> <td><a href="/method/contacts.editCloseFriends">contacts.editCloseFriends</a></td> <td>Edit the <a href="/api/privacy">close friends list, see here 禄</a> for more info.</td> </tr> <tr> <td><a href="/method/stories.canSendStory">stories.canSendStory</a></td> <td>Check whether we can post stories as the specified peer.</td> </tr> <tr> <td><a href="/method/stories.toggleAllStoriesHidden">stories.toggleAllStoriesHidden</a></td> <td>Hide the active stories of a specific peer, preventing them from being displayed on the action bar on the homescreen.</td> </tr> <tr> <td><a href="/method/stories.incrementStoryViews">stories.incrementStoryViews</a></td> <td>Increment the view counter of one or more stories.</td> </tr> <tr> <td><a href="/method/stories.report">stories.report</a></td> <td>Report a story.</td> </tr> <tr> <td><a href="/method/contacts.setBlocked">contacts.setBlocked</a></td> <td>Replace the contents of an entire <a href="/api/block">blocklist, see here for more info 禄</a>.</td> </tr> <tr> <td><a href="/method/bots.canSendMessage">bots.canSendMessage</a></td> <td>Check whether the specified bot can send us messages</td> </tr> <tr> <td><a href="/method/stories.togglePeerStoriesHidden">stories.togglePeerStoriesHidden</a></td> <td>Hide the active stories of a user, preventing them from being displayed on the action bar on the homescreen, see <a href="/api/stories#hiding-stories-of-other-users">here 禄</a> for more info.</td> </tr> <tr> <td><a href="/method/account.updateColor">account.updateColor</a></td> <td>Update the <a href="/api/colors">accent color and background custom emoji 禄</a> of the current account.</td> </tr> <tr> <td><a href="/method/messages.toggleSavedDialogPin">messages.toggleSavedDialogPin</a></td> <td>Pin or unpin a <a href="/api/saved-messages">saved message dialog 禄</a>.</td> </tr> <tr> <td><a href="/method/messages.reorderPinnedSavedDialogs">messages.reorderPinnedSavedDialogs</a></td> <td>Reorder pinned <a href="/api/saved-messages">saved message dialogs 禄</a>.</td> </tr> <tr> <td><a href="/method/messages.updateSavedReactionTag">messages.updateSavedReactionTag</a></td> <td>Update the <a href="/api/saved-messages#tags">description of a saved message tag 禄</a>.</td> </tr> <tr> <td><a href="/method/channels.setEmojiStickers">channels.setEmojiStickers</a></td> <td>Set a <a href="/api/custom-emoji">custom emoji stickerset</a> for supergroups. Only usable after reaching at least the <a href="/api/boost">boost level 禄</a> specified in the <a href="/api/config#group-emoji-stickers-level-min"><code>group_emoji_stickers_level_min</code> 禄</a> config parameter.</td> </tr> <tr> <td><a href="/method/smsjobs.join">smsjobs.join</a></td> <td>Enable SMS jobs (official clients only).</td> </tr> <tr> <td><a href="/method/smsjobs.leave">smsjobs.leave</a></td> <td>Disable SMS jobs (official clients only).</td> </tr> <tr> <td><a href="/method/smsjobs.updateSettings">smsjobs.updateSettings</a></td> <td>Update SMS job settings (official clients only).</td> </tr> <tr> <td><a href="/method/smsjobs.finishJob">smsjobs.finishJob</a></td> <td>Finish an SMS job (official clients only).</td> </tr> <tr> <td><a href="/method/account.updateBusinessWorkHours">account.updateBusinessWorkHours</a></td> <td>Specify a set of <a href="/api/business#opening-hours">Telegram Business opening hours</a>. <br>This info will be contained in <a href="/constructor/userFull">userFull</a>.<code>business_work_hours</code>.<br><br>To remove all opening hours, invoke the method without setting the <code>business_work_hours</code> field.<br><br>Note that the opening hours specified by the user must be appropriately validated and transformed before invoking the method, as specified <a href="/api/business#opening-hours">here 禄</a>.</td> </tr> <tr> <td><a href="/method/account.updateBusinessLocation">account.updateBusinessLocation</a></td> <td><a href="/api/business#location">Businesses 禄</a> may advertise their location using this method, see <a href="/api/business#location">here 禄</a> for more info.<br><br>To remove business location information invoke the method without setting any of the parameters.</td> </tr> <tr> <td><a href="/method/account.updateBusinessGreetingMessage">account.updateBusinessGreetingMessage</a></td> <td>Set a list of <a href="/api/business#greeting-messages">Telegram Business greeting messages</a>.</td> </tr> <tr> <td><a href="/method/account.updateBusinessAwayMessage">account.updateBusinessAwayMessage</a></td> <td>Set a list of <a href="/api/business#away-messages">Telegram Business away messages</a>.</td> </tr> <tr> <td><a href="/method/messages.reorderQuickReplies">messages.reorderQuickReplies</a></td> <td>Reorder <a href="/api/business#quick-reply-shortcuts">quick reply shortcuts</a>.<br><br>This will emit an <a href="/constructor/updateQuickReplies">updateQuickReplies</a> update to other logged-in sessions.</td> </tr> <tr> <td><a href="/method/messages.checkQuickReplyShortcut">messages.checkQuickReplyShortcut</a></td> <td>Before offering the user the choice to add a message to a <a href="/api/business#quick-reply-shortcuts">quick reply shortcut</a>, to make sure that none of the limits specified <a href="/api/business#quick-reply-shortcuts">here 禄</a> were reached.</td> </tr> <tr> <td><a href="/method/messages.editQuickReplyShortcut">messages.editQuickReplyShortcut</a></td> <td>Rename a <a href="/api/business#quick-reply-shortcuts">quick reply shortcut</a>. <br>This will emit an <a href="/constructor/updateQuickReplies">updateQuickReplies</a> update to other logged-in sessions.</td> </tr> <tr> <td><a href="/method/messages.deleteQuickReplyShortcut">messages.deleteQuickReplyShortcut</a></td> <td>Completely delete a <a href="/api/business#quick-reply-shortcuts">quick reply shortcut</a>. <br>This will also emit an <a href="/constructor/updateDeleteQuickReply">updateDeleteQuickReply</a> update to other logged-in sessions (and <em>no</em> <a href="/constructor/updateDeleteQuickReplyMessages">updateDeleteQuickReplyMessages</a> updates, even if all the messages in the shortcuts are also deleted by this method).</td> </tr> <tr> <td><a href="/method/messages.toggleDialogFilterTags">messages.toggleDialogFilterTags</a></td> <td>Enable or disable <a href="/api/folders#folder-tags">folder tags 禄</a>.</td> </tr> <tr> <td><a href="/method/account.updateBusinessIntro">account.updateBusinessIntro</a></td> <td>Set or remove the <a href="/api/business#business-introduction">Telegram Business introduction 禄</a>.</td> </tr> <tr> <td><a href="/method/account.toggleConnectedBotPaused">account.toggleConnectedBotPaused</a></td> <td>Pause or unpause a specific chat, temporarily disconnecting it from all <a href="/api/business#connected-bots">business bots 禄</a>.</td> </tr> <tr> <td><a href="/method/account.disablePeerConnectedBot">account.disablePeerConnectedBot</a></td> <td>Permanently disconnect a specific chat from all <a href="/api/business#connected-bots">business bots 禄</a> (equivalent to specifying it in <code>recipients.exclude_users</code> during initial configuration with <a href="/method/account.updateConnectedBot">account.updateConnectedBot 禄</a>); to reconnect of a chat disconnected using this method the user must reconnect the entire bot by invoking <a href="/method/account.updateConnectedBot">account.updateConnectedBot 禄</a>.</td> </tr> <tr> <td><a href="/method/account.updateBirthday">account.updateBirthday</a></td> <td>Update our <a href="/api/profile#birthday">birthday, see here 禄</a> for more info.</td> </tr> <tr> <td><a href="/method/account.deleteBusinessChatLink">account.deleteBusinessChatLink</a></td> <td>Delete a <a href="/api/business#business-chat-links">business chat deep link 禄</a>.</td> </tr> <tr> <td><a href="/method/account.updatePersonalChannel">account.updatePersonalChannel</a></td> <td>Associate (or remove) a personal <a href="/api/channel">channel 禄</a>, that will be listed on our personal <a href="/api/profile#personal-channel">profile page 禄</a>.<br><br>Changing it will emit an <a href="/constructor/updateUser">updateUser</a> update.</td> </tr> <tr> <td><a href="/method/account.toggleSponsoredMessages">account.toggleSponsoredMessages</a></td> <td>Disable or re-enable Telegram ads for the current <a href="/api/premium">Premium</a> account.<br><br>Useful for business owners that may want to launch and view their own Telegram ads via the <a href="https://ads.telegram.org">Telegram ad platform 禄</a>.</td> </tr> <tr> <td><a href="/method/stories.togglePinnedToTop">stories.togglePinnedToTop</a></td> <td>Pin some stories to the top of the profile, see <a href="/api/stories#pinned-or-archived-stories">here 禄</a> for more info.</td> </tr> <tr> <td><a href="/method/auth.reportMissingCode">auth.reportMissingCode</a></td> <td>Official apps only, reports that the SMS authentication code wasn't delivered.</td> </tr> <tr> <td><a href="/method/bots.deletePreviewMedia">bots.deletePreviewMedia</a></td> <td>Delete a <a href="/api/bots/webapps#main-mini-app-previews">main mini app preview, see here 禄</a> for more info.<br><br>Only owners of bots with a configured Main Mini App can use this method, see <a href="/api/bots/webapps#main-mini-app-previews">see here 禄</a> for more info on how to check if you can invoke this method.</td> </tr> <tr> <td><a href="/method/bots.reorderPreviewMedias">bots.reorderPreviewMedias</a></td> <td>Reorder a <a href="/api/bots/webapps#main-mini-app-previews">main mini app previews, see here 禄</a> for more info.<br><br>Only owners of bots with a configured Main Mini App can use this method, see <a href="/api/bots/webapps#main-mini-app-previews">see here 禄</a> for more info on how to check if you can invoke this method.</td> </tr> </tbody> </table></div> </div> </div> </div> <div class="footer_wrap"> <div class="footer_columns_wrap footer_desktop"> <div class="footer_column footer_column_telegram"> <h5>Telegram</h5> <div class="footer_telegram_description"></div> Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed. </div> <div class="footer_column"> <h5><a href="//telegram.org/faq">About</a></h5> <ul> <li><a href="//telegram.org/faq">FAQ</a></li> <li><a href="//telegram.org/privacy">Privacy</a></li> <li><a href="//telegram.org/press">Press</a></li> </ul> </div> <div class="footer_column"> <h5><a href="//telegram.org/apps#mobile-apps">Mobile Apps</a></h5> <ul> <li><a href="//telegram.org/dl/ios">iPhone/iPad</a></li> <li><a href="//telegram.org/android">Android</a></li> <li><a href="//telegram.org/dl/web">Mobile Web</a></li> </ul> </div> <div class="footer_column"> <h5><a href="//telegram.org/apps#desktop-apps">Desktop Apps</a></h5> <ul> <li><a href="//desktop.telegram.org/">PC/Mac/Linux</a></li> <li><a href="//macos.telegram.org/">macOS</a></li> <li><a href="//telegram.org/dl/web">Web-browser</a></li> </ul> </div> <div class="footer_column footer_column_platform"> <h5><a href="/">Platform</a></h5> <ul> <li><a href="/api">API</a></li> <li><a href="//translations.telegram.org/">Translations</a></li> <li><a href="//instantview.telegram.org/">Instant View</a></li> </ul> </div> </div> <div class="footer_columns_wrap footer_mobile"> <div class="footer_column"> <h5><a href="//telegram.org/faq">About</a></h5> </div> <div class="footer_column"> <h5><a href="//telegram.org/blog">Blog</a></h5> </div> <div class="footer_column"> <h5><a href="//telegram.org/apps">Apps</a></h5> </div> <div class="footer_column"> <h5><a href="/">Platform</a></h5> </div> <div class="footer_column"> <h5><a href="//telegram.org/press">Press</a></h5> </div> </div> </div> </div> <script src="/js/main.js?47"></script> <script>backToTopInit("Go up"); removePreloadInit(); </script> </body> </html> <!-- page generated in 12.49ms -->