# Function bindings::zaun::bot::voice::join

> Joins voice channel `channel` (leaving another one first). Returns once media can flow (at most about 10 s). `FORBIDDEN` without `voice`, `CONNECT` or `SPEAK`.

`zaun_bot::bindings::zaun::bot::voice::join` · Function

```rust
pub fn join(channel: &str) -> Result<(), HostError>
```

Joins voice channel `channel` (leaving another one first). Returns once media can
flow (at most about 10 s). `FORBIDDEN` without `voice`, `CONNECT` or `SPEAK`.

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/bindings/zaun/bot/voice/fn.join.html)
