Function presence::activity
zaun_client::presence::activity · Function
pub fn activity<impl Into<String>>(kind: ActivityType, name: impl Into<String>) -> ActivityAn activity of kind named name, for Client::set_presence.
Set details, state, started_at, url (streaming) or emoji (custom) on it as needed.