Search...

StageInstancesAPI

export declare class StageInstancesAPI 
export declare class StageInstancesAPI 

No summary provided.

constructor(rest)

Constructs a new instance of the StageInstancesAPI class
NameTypeOptionalDescription
restRESTNoNone

create(body, { reason, signal }?)

:

Promise<APIStageInstance>

NameTypeOptionalDescription
bodyRESTPostAPIStageInstanceJSONBodyNoThe data for creating the new stage instance
{ reason, signal }Pick<RequestData, 'reason' | 'signal'>YesNone

delete(channelId, { reason, signal }?)

:

Promise<void>

NameTypeOptionalDescription
channelIdSnowflakeNoThe id of the channel
{ reason, signal }Pick<RequestData, 'reason' | 'signal'>YesNone

edit(channelId, body, { reason, signal }?)

:

Promise<APIStageInstance>

NameTypeOptionalDescription
channelIdSnowflakeNoThe id of the channel
bodyRESTPatchAPIStageInstanceJSONBodyNoThe new stage instance data
{ reason, signal }Pick<RequestData, 'reason' | 'signal'>YesNone

get(channelId, { signal }?)

:

Promise<APIStageInstance>

NameTypeOptionalDescription
channelIdSnowflakeNoThe id of the channel
{ signal }Pick<RequestData, 'signal'>YesNone