# Function text_choice

> A text `Choice` (autocomplete results and fixed choices).

`zaun_bot::text_choice` · Function

```rust
pub fn text_choice<impl Into<String>, impl Into<String>>(name: impl Into<String>, value: impl Into<String>) -> Choice
```

A text `Choice` (autocomplete results and fixed choices).

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/options/fn.text_choice.html)
