UserStatus
type UserStatus = {
[key: string]: unknown;
activeUntil?: Date | null;
effects: {
[key: string]: unknown;
pauseActivity?: {
[key: string]: unknown;
scope?: {
[key: string]: unknown;
mode: string;
};
};
pauseNotifications?: {
[key: string]: unknown;
scope?: {
[key: string]: unknown;
mode: string;
};
};
};
emoji?: string | null;
message: string;
};
A user's status, shared across Todoist and Comms. The API returns null in its place
when the user has no status or it has expired.
Type Declaration
Index Signature
[key: string]: unknown