import type * as Whop from "../../../../index.js"; /** * @example * { * first: 42, * last: 42, * channel_id: "channel_id" * } */ export interface ListMessagesRequest { /** Returns the elements in the list that come after the specified cursor. */ after?: string; /** Returns the elements in the list that come before the specified cursor. */ before?: string; /** Returns the first _n_ elements from the list. */ first?: number; /** Returns the last _n_ elements from the list. */ last?: number; /** The unique identifier of the channel or experience to list messages for. */ channel_id: string; direction?: Whop.Direction; }