Skip to main content

CreateRequestBodyOptions

@discordeno/botDocs


Documentation / @discordeno/bot / CreateRequestBodyOptions

Interface: CreateRequestBodyOptions

Properties

body?

optional body: any

Defined in

packages/rest/dist/types/types.d.ts:2913


files?

optional files: FileContent[]

Defined in

packages/rest/dist/types/types.d.ts:2916


headers?

optional headers: Record<string, string>

Defined in

packages/rest/dist/types/types.d.ts:2912


reason?

optional reason: string

Defined in

packages/rest/dist/types/types.d.ts:2915


unauthorized?

optional unauthorized: boolean

Defined in

packages/rest/dist/types/types.d.ts:2914