Choose the account format
Deskgram 2 accepts .session and .json files, as well as Telegram Desktop data in a tdata folder or ZIP archive. Start with one account to check the format and result before importing a whole group.
Session files and TData contain access data. Use accounts you own or are authorized to manage, keep a backup of the originals and keep them out of public chats. Import saves data into the application; connectivity and current account status are checked separately afterward.

The retained screenshots illustrate an existing version. Labels may differ by release and interface language.
Open account import
In the account panel, open adding accounts from files and choose Session/JSON or TData. Import these formats separately: their processing and result counters differ.

Before importing again, check for existing files with the same names. Ordinary Session/JSON upload can overwrite a matching file. Do not treat reimport as an automatically safe update: back up the data and decide which version should remain first.
Option 1: Session/JSON
- Select
Session/JSON. - Choose or drop the files. If choosing a folder, inspect the
.sessionand.jsonfiles selected from it. - Keep matching basenames for a pair, such as
account01.sessionandaccount01.json. Do not rename only one part. - Review the list and press the add accounts button.
- Wait for the completion message and check the account table.

The .session file contains the session; .json holds accompanying information. When no JSON exists for an uploaded session in the working directory, Deskgram creates a basic record. This does not reconstruct missing original parameters, so import both parts when a valid pair is available. A JSON file alone is not Telegram authorization.
This mode counts files in its progress report. Two uploaded files from one pair do not mean two accounts. Uploading does not check whether the Telegram session is still valid.
Option 2: TData
Keep the complete tdata structure. For several accounts, keep separate account folders, each containing its own tdata. Do not merge internal files from different accounts.

- Select
TData. - Choose the complete folder or upload a ZIP preserving nested paths. Other archive types and password-protected ZIP files are not supported here.
- Check the detected account count. If it is zero, inspect the folder structure and selected directory level.
- Start import and wait for conversion and saving.
- Review successes, duplicates and errors separately. Do not reupload everything because one entry failed.

The converter locally extracts existing authorization data and creates Session/JSON. Conversion itself does not check the account on Telegram servers or confirm current availability. Saving converted accounts reports matches as duplicates without overwriting them, unlike ordinary Session/JSON upload.
ZIP imports are limited to 20,000 files and 1 GiB of unpacked content. Split larger sets by whole accounts while preserving each tdata structure.
Check the result

Open the account panel, clear restrictive filters and locate the test entry. If your setup requires a proxy, check its assignment before a network check. Run the appropriate account check and read its result: a saved file may contain an expired or invalid session.
Manual copying into sessions is an alternative only when you know the actual working directory. Stop tasks, close the application and back up existing data first. Do not use an unrelated folder belonging to another installation. For a first import, use the application window.
Troubleshoot
- Zero TData accounts: inspect nested paths and completeness; choose the whole folder rather than individual internal files.
- ZIP rejected: check format, password protection, integrity and unpacked size.
- Partial upload: record the completion message and identify failed entries, remembering Session/JSON overwrite behavior.
- Import succeeds but connection fails: investigate the separate connection error, session state and network configuration.
- Entry not visible: clear search and filters; check folder and working copy.
For support, provide version, format, an anonymized folder structure and the error text. Example filenames are sufficient for a public report; do not attach access files.