Class UnsafeInteractionContextKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static EphemeralMessageInteractionResponseBehavior ackEphemeral(UnsafeInteractionContext $self, SuspendFunction1<InteractionResponseCreateBuilder, Unit> builder) Send an ephemeral ack, if the interaction hasn't been acknowledged yet.
      final static PublicMessageInteractionResponseBehavior ackPublic(UnsafeInteractionContext $self, SuspendFunction1<InteractionResponseCreateBuilder, Unit> builder) Send a public ack, if the interaction hasn't been acknowledged yet.
      final static EphemeralFollowupMessage respondEphemeral(UnsafeInteractionContext $self, Function1<FollowupMessageCreateBuilder, Unit> builder) Respond to the current interaction with an ephemeral followup, or throw if it isn't ephemeral.
      final static PublicFollowupMessage respondPublic(UnsafeInteractionContext $self, Function1<FollowupMessageCreateBuilder, Unit> builder) Respond to the current interaction with a public followup.
      final static MessageInteractionResponse edit(UnsafeInteractionContext $self, Function1<InteractionResponseModifyBuilder, Unit> builder) Edit the current interaction's response, or throw if it isn't public.
      final static BaseButtonPaginator editingPaginator(UnsafeInteractionContext $self, String defaultGroup, Locale locale, Function1<PaginatorBuilder, Unit> builder) Create a paginator that edits the original interaction.
      final static BaseButtonPaginator respondingPaginator(UnsafeInteractionContext $self, String defaultGroup, Locale locale, Function1<PaginatorBuilder, Unit> builder) Create a paginator that creates a follow-up message, and edits that.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait