| name | remotty-access-pair |
| description | Pair a Telegram account with remotty using a pairing code. Use when the user gives a remotty pairing code or asks to pair Telegram. |
remotty access pair
Pair Telegram with the local config.
The supported Telegram flow is for Codex CLI.
- Ask for the pairing code if it was not provided.
- Resolve the config path:
$configPath = Join-Path $env:APPDATA "remotty\bridge.toml"
- Run:
remotty telegram access-pair <code> --config $configPath
- Confirm the sender was added.
- Do not print the bot token.