StageInstance
HTTP Rest API implementation for the following Resource:
Summary
Functions
StageInstance.createStageInstanceAsync(instance: request.Request, jsonParams: apiTypes.CreateStageInstanceRequest, auditLogReason: string?) → future.FutureLike<string, apiTypes.CreateStageInstanceResponse>StageInstance.getStageInstanceAsync(instance: request.Request, channelId: apiTypes.Snowflake) → future.FutureLike<string, apiTypes.GetStageInstanceResponse>StageInstance.modifyStageInstanceAsync(instance: request.Request, channelId: apiTypes.Snowflake, jsonParams: apiTypes.ModifyStageInstanceRequest, auditLogReason: string?) → future.FutureLike<string, apiTypes.ModifyStageInstanceResponse>StageInstance.deleteStageInstanceAsync(instance: request.Request, channelId: apiTypes.Snowflake) → future.FutureLike<string, apiTypes.DeleteStageInstanceResponse>Functions
Section titled “Functions”createStageInstanceAsync
Section titled “createStageInstanceAsync”StageInstance . createStageInstanceAsync ( instance , jsonParams , auditLogReason ) -> FutureLike<string, CreateStageInstanceResponse>
https://discord.com/developers/docs/resources/stage-instance#create-stage-instance
Parameters
| instance: Request | |
| jsonParams: CreateStageInstanceRequest | |
| auditLogReason: string? |
Returns
| FutureLike<string, CreateStageInstanceResponse> |
getStageInstanceAsync
Section titled “getStageInstanceAsync”StageInstance . getStageInstanceAsync ( instance , channelId ) -> FutureLike<string, GetStageInstanceResponse>
https://discord.com/developers/docs/resources/stage-instance#get-stage-instance
Parameters
| instance: Request | |
| channelId: Snowflake |
Returns
| FutureLike<string, GetStageInstanceResponse> |
modifyStageInstanceAsync
Section titled “modifyStageInstanceAsync”StageInstance . modifyStageInstanceAsync ( instance , channelId , jsonParams , auditLogReason ) -> FutureLike<string, ModifyStageInstanceResponse>
https://discord.com/developers/docs/resources/stage-instance#modify-stage-instance
Parameters
| instance: Request | |
| channelId: Snowflake | |
| jsonParams: ModifyStageInstanceRequest | |
| auditLogReason: string? |
Returns
| FutureLike<string, ModifyStageInstanceResponse> |
deleteStageInstanceAsync
Section titled “deleteStageInstanceAsync”StageInstance . deleteStageInstanceAsync ( instance , channelId ) -> FutureLike<string, DeleteStageInstanceResponse>
https://discord.com/developers/docs/resources/stage-instance#delete-stage-instance
Parameters
| instance: Request | |
| channelId: Snowflake |
Returns
| FutureLike<string, DeleteStageInstanceResponse> |