/** * #modmail.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ import type { SubredditV2 } from "./subredditv2.js"; import type { UserV2 } from "./userv2.js"; export type ModMail = { /** author of the message */ messageAuthor?: UserV2 | undefined; /** message creation timestamp */ createdAt?: string | undefined; /** * what type of user is the message author participating as: * moderator - as a mod of the owning subreddit * participant_user - as a non-mod user * participant_sr - as a mod of the participant subreddit (see conversation_type field) */ messageAuthorType: string; /** state of the conversation: new, in-progress, archived */ conversationState: string; /** type of conversation: internal (mod discussion), sr_user (between a subreddit and user), sr_sr (between two subreddits) */ conversationType: string; /** is the conversation auto generated? (from automod, u/reddit etc) */ isAutoGenerated: boolean; /** subreddit owning the modmail conversation */ conversationSubreddit?: SubredditV2 | undefined; /** the subreddit that the modmail is sent to or nil */ destinationSubreddit?: SubredditV2 | undefined; /** Conversation ID (base36 encoded string, does not have a thing-type prefix) */ conversationId: string; /** Message ID (base36 encoded string, does not have a thing-type prefix) */ messageId: string; }; //# sourceMappingURL=modmail.d.ts.map