# Function presence::activity

> An activity of `kind` named `name`, for `Client::set_presence`. Set `details`, `state`, `started_at`, `url` (streaming) or `emoji` (custom) on it as needed.

`zaun_client::presence::activity` · Function

```rust
pub fn activity<impl Into<String>>(kind: ActivityType, name: impl Into<String>) -> Activity
```

An activity of `kind` named `name`, for `Client::set_presence`.
Set `details`, `state`, `started_at`, `url` (streaming) or `emoji` (custom) on it as needed.

[Full rustdoc page](/docs/api/rust/zaun-client/zaun_client/presence/fn.activity.html)
