# `ExGram.Model.WebAppData`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.64.0/lib/ex_gram.ex#L4166)

Describes data sent from a Web App to the bot.

Check the [documentation of this model on Telegram Bot API](https://core.telegram.org/bots/api#webappdata)

- `data`: The data. Be aware that a bad client can send arbitrary data in this field.
- `button_text`: Text of the web_app keyboard button from which the Web App was opened. Be aware that a bad client can send arbitrary data in this field.

# `t`

```elixir
@type t() :: %ExGram.Model.WebAppData{button_text: String.t(), data: String.t()}
```

# `decode_as`

---

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