Can I get Telegram's server-side code?
Telegram publishes a large amount of client-side and API-related material, but the server-side implementation is not fully open for everyone to use.
If your goal is client development or integration with the ecosystem, Telegram's public APIs and developer documentation are usually enough.