Skip to content

Commit

Permalink
chore: update api types
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Dec 10, 2023
1 parent 59f1787 commit e3cbf36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion discord-api-docs
8 changes: 4 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3774,8 +3774,10 @@ export interface ExecuteWebhookParams {
readonly attachments: Array<Attachment>
/** message flags combined as a bitfield (only SUPPRESS_EMBEDS can be set) */
readonly flags: number
/** name of thread to create (requires the webhook channel to be a forum channel) */
/** name of thread to create (requires the webhook channel to be a forum or media channel) */
readonly thread_name: string
/** array of tag ids to apply to the thread (requires the webhook channel to be a forum or media channel) */
readonly applied_tags: Array<Snowflake>
}
export enum ExplicitContentFilterLevel {
/** media content will not be scanned */
Expand Down Expand Up @@ -5933,12 +5935,10 @@ export interface Response {
readonly user?: User
}
export interface ResponseBody {
/** the public, archived threads */
/** the active threads */
readonly threads: Array<Channel>
/** a thread member object for each returned thread the current user has joined */
readonly members: Array<ThreadMember>
/** whether there are potentially additional threads that could be returned on a subsequent call */
readonly has_more: boolean
}
export interface Resume {
/** Session token */
Expand Down

0 comments on commit e3cbf36

Please sign in to comment.