Skip to content
MTProto MirrorM
Sections
APIAPI Bot APIBots MTProtoMT SchemaTL BlogBlog FAQFAQ AppsApps ContestsCont. Dev ToolsTools PoliciesRules OtherOther
/
Site Source Code
API › TL-schema › cdnPublicKey
Telegram API
  • Telegram APIs
  • Account deletion
  • Action bar
  • Age verification
  • AI features
  • Animated Emojis
  • Native antispam system
  • Collectible gift auctions
  • User Authorization
  • Blocked users
  • Channel and supergroup boosts
  • Working with bots
  • AI features for bots
  • Bot attachment menu and side menu entries
  • Bot-to-bot communication
  • Bot buttons
  • Bot commands
  • Connected business bots
  • HTML5 games
  • Guest mode for bots
  • Bot API dialog IDs
  • Edit bot information
  • Inline queries
  • Managed bots
  • Bot menu button
  • Affiliate programs
  • Third-party verification
  • Mini Apps on Telegram
  • Telegram Business
  • Phone calls
  • Channels, supergroups, gigagroups and basic groups
  • Accent colors
  • config.json
  • Client configuration
  • Contact list
  • Content protection
  • Custom emojis
  • Working with Different Data Centers
  • Animated dice
  • Discussion groups
  • Message drafts
  • Animated message effects
  • Emoji categories
  • Emoji status
  • Secret chats, end-to-end encryption (v. 1.0, DEPRECATED)
  • End-to-End Encryption, Secret Chats
  • E2E Group Calls
  • Perfect Forward Secrecy
  • Sequence numbers in Secret Chats
  • End-to-End Encrypted Voice and Video Calls
  • End-to-End Encrypted Voice Calls
  • Styled text with message entities
  • errors.json
  • Error handling
  • Fact checks
  • File reference generator
  • File references
  • DB schema
  • Incoming file reference traversers
  • File reference map file schema
  • Outgoing file reference traversers
  • Refresh actions
  • File reference sources
  • Uploading and Downloading Files
  • Dialog folders
  • Forum topics
  • Fragment collectibles
  • Working with GIFs
  • Telegram Gifts
  • Giveaways and gifts
  • Group calls
  • Imported messages
  • Invite links
  • Calling API Methods
  • Layer changelog
  • Deep links
  • Live geolocation
  • Mentions and replies
  • Min constructors
  • Direct messages to channels
  • Nearby users&chats
  • Creating your Telegram Application
  • Pagination in the API
  • Client-Side Optimization
  • Paid media
  • Paid messages
  • Passkey login
  • Telegram passport
  • Pattern matching
  • Payments API
  • Peer database
  • Perfect Forward Secrecy
  • Pinned messages
  • Polls and quizzes
  • Telegram Premium
  • Privacy settings
  • User profiles
  • Handling PUSH-notifications
  • Login via QR code
  • Rank
  • Message reactions
  • Admin log
  • Similar channels and bots
  • Channel and bot ad revenue
  • Admin, banned, default rights
  • Notification sounds
  • Saved messages
  • Scheduled messages
  • Search and filters
  • Sponsored messages
  • Two-factor authentication
  • Telegram Stars
  • Channel statistics
  • Stickers and masks
  • Telegram Stories
  • Star subscriptions
  • Suggested posts
  • Takeout API
  • Telegram API Terms of Service
  • Telegram themes
  • Message threads
  • Checklists and to-do lists
  • Top peer rating
  • Voice message transcription
  • Message translation
  • Working with Updates
  • Seamless Telegram Login
  • Views and read metrics
  • Chat wallpapers
  • Web events
Bot API
  • Bots: An introduction for developers
  • Introducing Bot API 2.0
  • Bot API changelog
  • Telegram Bot API
  • Blockchain Guidelines
  • Telegram Bot Features
  • Gaming Platform
  • Inline Bots
  • Bot Payments API for Digital Goods and Services
  • Bot Payments API
  • currencies.json
  • Bot API Library Examples
  • Hellobot
  • Using self-signed certificates
  • Log In With Telegram
  • From BotFather to 'Hello World'
  • Telegram Mini Apps
  • Marvin's Marvellous Guide to All Things Webhook
MTProto Protocol
  • MTProto Mobile Protocol
  • Mobile Protocol: Detailed Description
  • Creating an Authorization Key
  • Auth key generation example
  • Security Guidelines for Client Developers
  • Binary Data Serialization
  • Service Messages
  • Service Messages about Messages
  • Transport protocols
  • MTProto transports
  • TL Language
  • MTProto Mobile Protocol v.1.0 (DEPRECATED)
  • Mobile Protocol: Detailed Description (v.1.0, DEPRECATED)
  • Security Guidelines for Client Developers (v.1.0, DEPRECATED)
  • Binary serialization and abstract TL types
  • Formal description of TL combinators
  • TL dependent types
  • Formal TL declaration
  • Optional combinator parameters and their values
  • TL template types
  • Polymorphism in TL
  • TL schema for serialization of TL schemas
  • Type serialization
Schema
  • Schema
  • Current MTProto TL-schema
  • Current end-to-end TL-schema
  • Available methods
  • TL-Schema in JSON
  • MTProto TL-Schema in JSON
  • End-to-end TL-Schema in JSON
  • Constructors (index)
  • Methods (index)
  • Types (index)
Blog
  • Blog index
  • Welcome Messages, Buttons in Messages and Signed Gifts (2026-08)
  • Rich Text Editor, Communities, Ephemeral Messages in Groups, 350 Million GIFs (2026-07)
  • Smartwatch Apps, Rich Text for Bots, AI Guardians for Groups, and Much More (2026-06)
  • Guest AI Bots, Bot-to-Bot Chats, Chat Automation, Custom AI Styles, 100M+ Emoji & Sticker Search and Much More (2026-05)
  • AI Editor, Mighty Polls, Live Photos, Bots Managed by Bots, and More (2026-03)
  • Member Tags, Login with Telegram, Disable Sharing, GIF Editing, Date Formatting, Voting Timestamps (2026-03)
  • Android Redesign, Group Ownership Transfer, Gift Crafting, Colored Bot Buttons (2026-02)
  • AI Summaries, New Design and More (2026-01)
  • Passkeys, Gift Purchase Offers and More (2025-12)
  • Live Stories, Repeated Messages, Auctions for Gifts and More (2025-11)
  • Comments in Group Calls, Notes for Contacts, Suggested Birthdays and More (2025-10)
  • Music on Profiles, Stickers Mini App, New Profiles, and More (2025-08)
FAQ
  • Telegram FAQ
  • FAQ for the Technically Inclined
  • FAQ for the Technically Inclined (MTProto v.1.0)
  • Bots FAQ
  • شبکه‌های تحویل محتوا (CDN) رمزنگاری شده
  • توضيحات CDNهاى رمزنگارى شده
  • Channels FAQ
  • Telegram Premium FAQ
  • Spam FAQ
Apps & Clients
  • Telegram Applications
  • Telegram for Android
  • The Evolution of Telegram
Contests
  • Telegram Contests
  • Blackberry 10 Dev Contest
  • Editing Messages
  • Choosing Emoji
  • Sending Media
  • Viewing Media
  • Sending Messages
  • Sending Voice Messages
  • Chat screens
  • Chats
  • Сontacts
  • Group Chat Info
  • Intro
  • Login
  • New Message
  • Secret Chats
  • Settings
  • $50,000 Blackberry Contest Extended
  • BlackBerry Contest Results
  • A $50,000 Contest For Blackberry Engineers
  • $1,000,000 to Bot Developers. For free.
  • First BotPrize Winners Get $200,000
  • Crypto Contest Ends
  • $300,000 for Cracking Telegram Encryption
  • Instant View Now Available for 2274 Websites
  • Instant Views for Everyone & a $200K Contest
  • Telegram X: Progress through Competition
  • Winter Contest Ends
  • Telegram Cracking Contest Description
Developer Tools
  • Telegram Database Library
  • Telegram Gateway – Fast, Affordable, and Secure User Verification
  • Telegram Gateway API
  • Authorization via Telegram Gateway: Quick-start Guide
  • Importing Stickers to Telegram
  • Telegram Passport Manual
  • Telegram Passport Encryption Details
  • Passport example
  • Android SDK
  • iOS & macOS SDK
  • Javascript SDK
  • Telegram Stickers
  • Encoding Video Stickers and Emoji with .WEBM and VP9
  • Getting started with TDLib
  • Notification API
  • TDLib options
  • Creating Custom Cloud Themes
  • Telegram Widgets
  • Discussion Widget
  • Telegram Login Widget
  • Post Widget
  • Sharing Button
Policies
  • Telegram Privacy Policy
  • Apple Privacy Labels Explained
  • Telegram Safety Overview
  • Standard Bot Privacy Policy
  • Terms of Service
  • Telegram Bot Platform Developer Terms of Service
  • Terms of Service for Bots
  • Terms of Service for Telegram Business
  • Terms of Service for Content Creators
  • Terms of Service for Content Licensing
  • User guidance for the EU Digital Services Act
  • Terms of Service
  • Terms of Service
  • Terms of Service
  • Terms of Service for Telegram Gateway
  • Terms of Service for Mini Apps
  • Terms of Service for Telegram Stars
  • Third-Party Payments and Authorized Resellers
  • Page Verification Guidelines
Other
  • Other Telegram Resources
  • Hash Collisions for Diffie-Hellman Keys
  • Telegram Bug Bounty Program
  • Encrypted CDNs for Speed and Security
  • Jobs
  • Telegram Press Info
  • Reproducible Builds for iOS and Android
  • Affiliate Programs
  • Telegram Channels
  • Shareable Chat Folders
  • Group Chats on Telegram
  • Quizzes
  • Telegram Logos and App Screenshots
  • Telegram Stories

cdnPublicKey #

Public key to use only during handshakes to CDN DCs.¶

Layer 223

cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey;

Parameters #

NameTypeDescription
dc_idintCDN DC ID
public_keystringRSA public key

Type #

CdnPublicKey¶

Related pages #

Encrypted CDNs for Speed and Security #

How client apps download popular public files from secondary CDN data centers.¶

Original: https://core.telegram.org/constructor/cdnPublicKey
A mirror of core.telegram.org (Telegram API, MTProto, Schema). Content snapshot: 2026-08-28.