/** * #gamesdrawerbadge_msg.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ /** Request to show a badge for a given app, linking to a given post */ export type ShowGameBadgeRequest = { /** The fullname of a post (e.g., "t3_abc123") */ post: string; /** The expiration time of the badge */ expiresAt?: string | undefined; }; /** Response from setting a game badge */ export type ShowGameBadgeResponse = { /** Whether the game badge was successfully set */ success: boolean; /** Optional message providing additional context about the operation */ message?: string | undefined; }; /** Request to dismiss all active game badges */ export type DismissGameBadgeRequest = {}; /** Response from dismissing active game badges */ export type DismissGameBadgeResponse = { /** Whether all active game badges were successfully dismissed */ success: boolean; }; /** Request to get the status of active game badges for an app */ export type GetGameBadgeStatusRequest = {}; /** Response from getting the status of an active game badge for an app */ export type GetGameBadgeStatusResponse = { /** Whether an active game badge for an app is set */ hasActiveBadge: boolean; /** The expiration time of the active game badge, if set */ expiresAt?: string | undefined; /** The fullname of a post (e.g., "t3_abc123") */ post?: string | undefined; }; /** Request to get the game badge status for a specific app by installation ID */ export type GetGameBadgeStatusForInstallationsRequest = { /** The installation IDs to inspect */ installationIds: string[]; }; /** Response from getting the status of an active game badge for an installation */ export type GetGameBadgeStatusForInstallationsResponse = { /** Map of installation ID to badge status */ statuses: { [key: string]: GetGameBadgeStatusResponse; }; }; export type GetGameBadgeStatusForInstallationsResponse_StatusesEntry = { key: string; value?: GetGameBadgeStatusResponse | undefined; }; //# sourceMappingURL=gamesdrawerbadge_msg.d.ts.map