Skip to content

Function presence::activity

zaun_client::presence::activity · Function

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