OneGram is an unofficial Telegram client for iOS 3–27; it supports architectures such as armv6, armv7, and arm64.
To build it, you simply need to run ./build.sh.
Credits Telegram — original Telegram for iOS codebase Twelve / Twelvium by theanazerka — legacy iOS compatibility code and related modifications https://github.com/theanazerka/twelve-project