Skip to main content

set_status

Function set_status 

Source
pub fn set_status(
    text: Option<&str>,
    emoji: Option<&str>,
    expires_at: Option<u64>,
) -> Result<(), HostError>
Expand description

Sets the custom status text and emoji, cleared by the host at expires_at (ms) if given.

§Errors

The host’s refusal.