/** * #optin_msg.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ export type OptInCurrentUserResponse = { /** Whether the user successfully opted in */ success: boolean; /** Optional message providing additional context about the operation */ message: string; }; export type OptOutCurrentUserResponse = { /** Whether the user successfully opted out */ success: boolean; /** Optional message providing additional context about the operation */ message: string; }; export type ListOptedInUsersRequest = { /** The maximum number of users to return. If this is greater than our max page size, it will be capped. */ limit?: number | undefined; /** Cursor to start listing AFTER. Interpreted as a timestamp in milliseconds. */ after?: string | undefined; }; export type ListOptedInUsersResponse = { /** List of T2 user IDs who have opted in to receive notifications (e.g. "t2_abc123", "t2_def456") */ userIds: string[]; /** Next page cursor. Interpreted as a timestamp in milliseconds, pass back as `after`. */ next?: string | undefined; }; export type IsOptedInRequest = { /** The Reddit user ID to check (e.g. "t2_abc123"). */ userId: string; }; export type IsOptedInResponse = { /** Whether the user has opted in to receive notifications */ optedIn: boolean; }; //# sourceMappingURL=optin_msg.d.ts.map