---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# segmentstream telegram-bot

Finish a Telegram bot SegmentStream creates for a connection or the agent; \`agent init --create-bot\` and \`connection authorize\` start one

## Usage

Command syntax

```
segmentstream telegram-bot [OPTIONS] COMMAND [ARGS]...
```

## Options

- `--help`

  Show this message and exit.

## Subcommands

[**segmentstream telegram-bot wait**Wait until the bot is created in Telegram, then store its token where the request said: the connection's input or the workspace secret](https://segmentstream.com/docs/cli/telegram-bot/wait)

[Read as Markdown ↗](https://segmentstream.com/docs/cli/telegram-bot.md)
