Package com.mewna.catnip.rest.handler
Class RestInteraction
java.lang.Object
com.mewna.catnip.rest.handler.RestInteraction
- Since:
- 12/10/20.
- Author:
- amy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CatnipImpl
catnip()
io.reactivex.rxjava3.core.Single<ApplicationCommand>
createGlobalApplicationCommand
(ApplicationCommandType type, String name, String description, Collection<ApplicationCommandOption> options) io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject>
createGlobalApplicationCommandRaw
(ApplicationCommandType type, String name, String description, Collection<ApplicationCommandOption> options) io.reactivex.rxjava3.core.Single<ApplicationCommand>
createGuildApplicationCommand
(ApplicationCommandType type, String guildId, String name, String description, Collection<ApplicationCommandOption> options) io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject>
createGuildApplicationCommandRaw
(ApplicationCommandType type, String guildId, String name, String description, Collection<ApplicationCommandOption> options) io.reactivex.rxjava3.core.Single<Message>
createInteractionFollowup
(InteractionResponseType type, String interactionId, String interactionToken, MessageOptions options) io.reactivex.rxjava3.core.Single<Message>
createInteractionFollowup
(InteractionResponseType type, String interactionId, String interactionToken, String username, MessageOptions options) io.reactivex.rxjava3.core.Single<Message>
createInteractionFollowup
(InteractionResponseType type, String interactionId, String interactionToken, String username, String avatarUrl, MessageOptions options) io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject>
createInteractionFollowupRaw
(InteractionResponseType type, String interactionId, String interactionToken, String username, String avatarUrl, MessageOptions options) io.reactivex.rxjava3.core.Completable
createInteractionInitialResponse
(InteractionResponseType type, String interactionId, String interactionToken, MessageOptions options) io.reactivex.rxjava3.core.Completable
createInteractionInitialResponse
(InteractionResponseType type, String interactionId, String interactionToken, String username, MessageOptions options) io.reactivex.rxjava3.core.Completable
createInteractionInitialResponse
(InteractionResponseType type, String interactionId, String interactionToken, String username, String avatarUrl, MessageOptions options) io.reactivex.rxjava3.core.Completable
createInteractionInitialResponseRaw
(InteractionResponseType type, String interactionId, String interactionToken, String username, String avatarUrl, MessageOptions options) io.reactivex.rxjava3.core.Completable
deleteGlobalApplicationCommand
(String commandId) io.reactivex.rxjava3.core.Completable
deleteGuildApplicationCommand
(String guildId, String commandId) io.reactivex.rxjava3.core.Completable
deleteInteractionFollowup
(String interactionId, String interactionToken, String messageId) io.reactivex.rxjava3.core.Completable
deleteInteractionInitialResponse
(String interactionId, String interactionToken) io.reactivex.rxjava3.core.Single<ApplicationCommand>
editGlobalApplicationCommand
(ApplicationCommandType type, String name, String description, String commandId, Collection<ApplicationCommandOption> options) io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject>
editGlobalApplicationCommandRaw
(ApplicationCommandType type, String name, String description, String commandId, Collection<ApplicationCommandOption> options) io.reactivex.rxjava3.core.Single<ApplicationCommand>
editGuildApplicationCommand
(ApplicationCommandType type, String guildId, String name, String description, String commandId, Collection<ApplicationCommandOption> options) io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject>
editGuildApplicationCommandRaw
(ApplicationCommandType type, String guildId, String name, String description, String commandId, Collection<ApplicationCommandOption> options) io.reactivex.rxjava3.core.Single<Message>
editInteractionFollowup
(String interactionId, String interactionToken, String messageId, MessageOptions options) io.reactivex.rxjava3.core.Single<Message>
editInteractionFollowup
(String interactionId, String interactionToken, String messageId, String username, MessageOptions options) io.reactivex.rxjava3.core.Single<Message>
editInteractionFollowup
(String interactionId, String interactionToken, String messageId, String username, String avatarUrl, MessageOptions options) io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject>
editInteractionFollowupRaw
(String interactionId, String interactionToken, String messageId, String username, String avatarUrl, MessageOptions options) io.reactivex.rxjava3.core.Single<Message>
editInteractionInitialResponse
(String interactionId, String interactionToken, MessageOptions options) io.reactivex.rxjava3.core.Single<Message>
editInteractionInitialResponse
(String interactionId, String interactionToken, String username, MessageOptions options) io.reactivex.rxjava3.core.Single<Message>
editInteractionInitialResponse
(String interactionId, String interactionToken, String username, String avatarUrl, MessageOptions options) io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject>
editInteractionInitialResponseRaw
(String interactionId, String interactionToken, String username, String avatarUrl, MessageOptions options) protected EntityBuilder
io.reactivex.rxjava3.core.Observable<ApplicationCommand>
io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonArray>
io.reactivex.rxjava3.core.Observable<ApplicationCommand>
getGuildApplicationCommands
(String guildId) io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonArray>
getGuildApplicationCommandsRaw
(String guildId)
-
Constructor Details
-
RestInteraction
-
-
Method Details
-
createInteractionInitialResponse
public io.reactivex.rxjava3.core.Completable createInteractionInitialResponse(@Nonnull InteractionResponseType type, @Nonnull String interactionId, @Nonnull String interactionToken, @Nonnull MessageOptions options) -
createInteractionInitialResponse
public io.reactivex.rxjava3.core.Completable createInteractionInitialResponse(@Nonnull InteractionResponseType type, @Nonnull String interactionId, @Nonnull String interactionToken, @Nullable String username, @Nonnull MessageOptions options) -
createInteractionInitialResponse
public io.reactivex.rxjava3.core.Completable createInteractionInitialResponse(@Nonnull InteractionResponseType type, @Nonnull String interactionId, @Nonnull String interactionToken, @Nullable String username, @Nullable String avatarUrl, @Nonnull MessageOptions options) -
createInteractionInitialResponseRaw
public io.reactivex.rxjava3.core.Completable createInteractionInitialResponseRaw(@Nonnull InteractionResponseType type, @Nonnull String interactionId, @Nonnull String interactionToken, @Nullable String username, @Nullable String avatarUrl, @Nonnull MessageOptions options) -
editInteractionInitialResponse
public io.reactivex.rxjava3.core.Single<Message> editInteractionInitialResponse(@Nonnull String interactionId, @Nonnull String interactionToken, @Nonnull MessageOptions options) -
editInteractionInitialResponse
public io.reactivex.rxjava3.core.Single<Message> editInteractionInitialResponse(@Nonnull String interactionId, @Nonnull String interactionToken, @Nullable String username, @Nonnull MessageOptions options) -
editInteractionInitialResponse
-
editInteractionInitialResponseRaw
public io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject> editInteractionInitialResponseRaw(@Nonnull String interactionId, @Nonnull String interactionToken, @Nullable String username, @Nullable String avatarUrl, @Nonnull MessageOptions options) -
deleteInteractionInitialResponse
-
createInteractionFollowup
public io.reactivex.rxjava3.core.Single<Message> createInteractionFollowup(@Nonnull InteractionResponseType type, @Nonnull String interactionId, @Nonnull String interactionToken, @Nonnull MessageOptions options) -
createInteractionFollowup
public io.reactivex.rxjava3.core.Single<Message> createInteractionFollowup(@Nonnull InteractionResponseType type, @Nonnull String interactionId, @Nonnull String interactionToken, @Nullable String username, @Nonnull MessageOptions options) -
createInteractionFollowup
public io.reactivex.rxjava3.core.Single<Message> createInteractionFollowup(@Nonnull InteractionResponseType type, @Nonnull String interactionId, @Nonnull String interactionToken, @Nullable String username, @Nullable String avatarUrl, @Nonnull MessageOptions options) -
createInteractionFollowupRaw
public io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject> createInteractionFollowupRaw(@Nonnull InteractionResponseType type, @Nonnull String interactionId, @Nonnull String interactionToken, @Nullable String username, @Nullable String avatarUrl, @Nonnull MessageOptions options) -
editInteractionFollowup
public io.reactivex.rxjava3.core.Single<Message> editInteractionFollowup(@Nonnull String interactionId, @Nonnull String interactionToken, @Nonnull String messageId, @Nonnull MessageOptions options) -
editInteractionFollowup
-
editInteractionFollowup
-
editInteractionFollowupRaw
-
deleteInteractionFollowup
-
getGlobalApplicationCommands
-
getGlobalApplicationCommandsRaw
public io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonArray> getGlobalApplicationCommandsRaw() -
createGlobalApplicationCommand
public io.reactivex.rxjava3.core.Single<ApplicationCommand> createGlobalApplicationCommand(@Nonnull ApplicationCommandType type, @Nonnull String name, @Nullable String description, @Nonnull Collection<ApplicationCommandOption> options) -
createGlobalApplicationCommandRaw
public io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject> createGlobalApplicationCommandRaw(@Nonnull ApplicationCommandType type, @Nonnull String name, @Nullable String description, @Nonnull Collection<ApplicationCommandOption> options) -
editGlobalApplicationCommand
public io.reactivex.rxjava3.core.Single<ApplicationCommand> editGlobalApplicationCommand(@Nonnull ApplicationCommandType type, @Nonnull String name, @Nullable String description, @Nonnull String commandId, @Nonnull Collection<ApplicationCommandOption> options) -
editGlobalApplicationCommandRaw
public io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject> editGlobalApplicationCommandRaw(@Nonnull ApplicationCommandType type, @Nonnull String name, @Nullable String description, @Nonnull String commandId, @Nonnull Collection<ApplicationCommandOption> options) -
deleteGlobalApplicationCommand
public io.reactivex.rxjava3.core.Completable deleteGlobalApplicationCommand(@Nonnull String commandId) -
getGuildApplicationCommands
public io.reactivex.rxjava3.core.Observable<ApplicationCommand> getGuildApplicationCommands(@Nonnull String guildId) -
getGuildApplicationCommandsRaw
public io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonArray> getGuildApplicationCommandsRaw(@Nonnull String guildId) -
createGuildApplicationCommand
public io.reactivex.rxjava3.core.Single<ApplicationCommand> createGuildApplicationCommand(@Nonnull ApplicationCommandType type, @Nonnull String guildId, @Nonnull String name, @Nullable String description, @Nonnull Collection<ApplicationCommandOption> options) -
createGuildApplicationCommandRaw
public io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject> createGuildApplicationCommandRaw(@Nonnull ApplicationCommandType type, @Nonnull String guildId, @Nonnull String name, @Nullable String description, @Nonnull Collection<ApplicationCommandOption> options) -
editGuildApplicationCommand
public io.reactivex.rxjava3.core.Single<ApplicationCommand> editGuildApplicationCommand(@Nonnull ApplicationCommandType type, @Nonnull String guildId, @Nonnull String name, @Nullable String description, @Nonnull String commandId, @Nonnull Collection<ApplicationCommandOption> options) -
editGuildApplicationCommandRaw
public io.reactivex.rxjava3.core.Observable<com.grack.nanojson.JsonObject> editGuildApplicationCommandRaw(@Nonnull ApplicationCommandType type, @Nonnull String guildId, @Nonnull String name, @Nullable String description, @Nonnull String commandId, @Nonnull Collection<ApplicationCommandOption> options) -
deleteGuildApplicationCommand
-
entityBuilder
-
catnip
-