feat: add 'Focus' presence status
This commit is contained in:
@@ -32,9 +32,15 @@ pub struct Relationship {
|
|||||||
/// Presence status
|
/// Presence status
|
||||||
#[derive(Serialize, Deserialize, JsonSchema, Debug, Clone, PartialEq)]
|
#[derive(Serialize, Deserialize, JsonSchema, Debug, Clone, PartialEq)]
|
||||||
pub enum Presence {
|
pub enum Presence {
|
||||||
|
/// User is online
|
||||||
Online,
|
Online,
|
||||||
|
/// User is not currently available
|
||||||
Idle,
|
Idle,
|
||||||
|
/// User is focusing / will only receive mentions
|
||||||
|
Focus,
|
||||||
|
/// User is busy / will not receive any notifications
|
||||||
Busy,
|
Busy,
|
||||||
|
/// User appears to be offline
|
||||||
Invisible,
|
Invisible,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user