Skip to main content

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
NameType
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; }; }; }
effects.pauseActivity?{ [key: string]: unknown; scope?: { [key: string]: unknown; mode: string; }; }
effects.pauseActivity.scope?{ [key: string]: unknown; mode: string; }
effects.pauseActivity.scope.modestring
effects.pauseNotifications?{ [key: string]: unknown; scope?: { [key: string]: unknown; mode: string; }; }
effects.pauseNotifications.scope?{ [key: string]: unknown; mode: string; }
effects.pauseNotifications.scope.modestring
emoji?string | null
messagestring