Export Chat History. Use
Telegram Desktop to make an offline
reference copy of single chats or your entire account, including
messages and media.
To export an individual chat’s history, in the chat click ⋮ > Export Chat History.
To export several chats at once, go to Settings > Advanced > Export Telegram Data.