SetStatusArgs
type SetStatusArgs = {
activeUntil?: Date | string | null;
effects?: {
pauseActivity?: StatusEffectArgs;
pauseNotifications?: StatusEffectArgs;
};
emoji?: string | null;
message: string;
};
Properties
activeUntil?
optional activeUntil?: Date | string | null;
When the status ends. Must be in the future. A Date is sent as an ISO 8601 string.
effects?
optional effects?: {
pauseActivity?: StatusEffectArgs;
pauseNotifications?: StatusEffectArgs;
};
| Name | Type | Description |
|---|---|---|
pauseActivity? | StatusEffectArgs | Meant to pause Karma and streaks while the status is active. Comms drops it until Doist/comms-backend#1081 ships. |
pauseNotifications? | StatusEffectArgs | Holds back Comms notifications while the status is active. They are not sent later. |
emoji?
optional emoji?: string | null;
message
message: string;
1 to 80 characters once trimmed.