# `Noizu.Telegram.Request`
[🔗](https://github.com/noizu-labs-sdks/elixir-telegram/blob/v0.1.0/lib/noizu/telegram/request.ex#L1)

Req-based Bot API engine.

All methods are `POST /bot<token>/<method>` with a JSON body (or multipart
form for file uploads). `Req`'s own retry is disabled; a bounded retry runs
here instead: 429 always retries (delay from `parameters.retry_after`),
transport errors retry with base backoff.

2xx responses are unwrapped from the Telegram envelope (`{"ok" => true,
"result" => ...}` → `result`); failures become `Noizu.Telegram.Error`.

# `perform`

```elixir
@spec perform(Noizu.Telegram.Client.t(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Noizu.Telegram.Error.t()}
```

Perform a Bot API method call.

Options: `:json` (JSON body map), `:form` (urlencoded form), `:multipart`
(multipart form — `File.Stream` values allowed for uploads),
`:params` (query params, nil-dropped).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
