import type * as Whop from "../../../../index.mjs"; /** * @example * { * id: "id" * } */ export interface UpdateForumPostsRequest { /** The unique identifier of the forum post to update. */ id: string; /** A replacement list of file attachments for this post, such as images or videos. */ attachments?: UpdateForumPostsRequest.Attachments.Item[] | null; /** The updated body of the post in Markdown format. For example, 'Check out this **update**'. Hidden if the post is paywalled and the viewer has not purchased access. */ content?: string | null; /** Whether this post should be pinned to the top of the forum. Only top-level posts can be pinned, not comments. */ is_pinned?: boolean | null; /** The updated title of the post, displayed prominently at the top. Required for paywalled posts as it remains visible to non-purchasers. */ title?: string | null; /** Controls who can see this forum post, such as members only or public. */ visibility?: Whop.ForumPostVisibilityTypes | null; } export declare namespace UpdateForumPostsRequest { type Attachments = Attachments.Item[]; namespace Attachments { /** * Input for an attachment */ interface Item { /** The ID of an existing file object. */ id: string; } } }