> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Bot Action • Rust AI Agent SDK

> BotAction: A bot action/button.

# BotAction

> Defined in the [**protocols**](../modules/protocols) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

A bot action/button.

## Fields

| Name          | Type                   | Description  |
| ------------- | ---------------------- | ------------ |
| `id`          | `String`               | Action ID    |
| `label`       | `String`               | Action label |
| `action_type` | `String`               | Action type  |
| `value`       | `Option&lt;String&gt;` | Action value |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/protocols/mod.rs#L475">
  `praisonai/src/protocols/mod.rs` at line 475
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Bots" icon="robot" href="/docs/rust/bots" />

  <Card title="Rust AGUI" icon="display" href="/docs/rust/agui" />
</CardGroup>
