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, options?):Promise<APIStageInstance>
NameTypeOptionalDescription
bodyRESTPostAPIStageInstanceJSONBodyNo
The data for creating the new stage instance
optionsPick<RequestData, 'auth' | 'reason' | 'signal'>Yes
The options for creating the new stage instance
delete(channelId, options?):Promise<void>
NameTypeOptionalDescription
channelIdSnowflakeNo
The id of the channel
optionsPick<RequestData, 'auth' | 'reason' | 'signal'>Yes
The options for deleting the stage instance
edit(channelId, body, options?):Promise<APIStageInstance>
NameTypeOptionalDescription
channelIdSnowflakeNo
The id of the channel
bodyRESTPatchAPIStageInstanceJSONBodyNo
The new stage instance data
optionsPick<RequestData, 'auth' | 'reason' | 'signal'>Yes
The options for editing the stage instance
get(channelId, options?):Promise<APIStageInstance>
NameTypeOptionalDescription
channelIdSnowflakeNo
The id of the channel
optionsPick<RequestData, 'auth' | 'signal'>Yes
The options for fetching the stage instance