documentation/docs/experimental/remote-access/telegram-gateway.md
The Telegram Gateway lets you interact with goose through Telegram, enabling remote access from any device where Telegram is available.
:::warning Experimental Feature The Gateway feature is experimental and in active development. Behavior and configuration may change in future releases. :::
The Gateway connects your Telegram account to goose through a secure pairing process. Once paired, you can send messages to a Telegram bot that forwards them to goose, and receive formatted responses back in Telegram.
Key details:
Before setting up the Telegram Gateway, you need to create a Telegram bot:
/newbot and follow the prompts to create your bot123456789:ABCdefGHIjklMNOpqrsTUVwxyz):::tip Keep your bot token secure. Anyone with the token can control your bot. :::
You can now chat with goose through Telegram!
You can also manage the gateway from the command line:
# Check gateway status
goose gateway status
# Start the Telegram gateway
goose gateway start telegram --bot-token YOUR_BOT_TOKEN
# Generate a pairing code
goose gateway pair telegram
# Stop the gateway
goose gateway stop telegram
Once paired, you can:
From the Desktop app's Gateway settings, you can: