Documentation
¶
Overview ¶
Binary send-message logs in as a user with a phone code, persists the session to a file, and sends a text message to a channel or user.
This addresses the three most requested scenarios from https://github.com/gotd/td/issues/166:
- user login by code with session storage in a file;
- reconnect using the previously stored session (no code on next run);
- sending a message to a channel.
On the first run it prompts for phone, code and 2FA password in the terminal and writes the session to --session. On subsequent runs the stored session is reused and no login is required.
Click to show internal directories.
Click to hide internal directories.