interactionflow

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Interface

type Interface interface {
	AwaitStringSelect(interaction *bot.InteractionContext, options []components.SelectOption, selectMenu components.StringSelect) (*bot.InteractionContext, error)
	AwaitSimpleTextModal(interaction *bot.InteractionContext, textInput components.TextInput, modalData components.ModalData) (*bot.InteractionContext, error)
	AwaitChannelSelect(interaction *bot.InteractionContext, selectMenu components.ChannelSelect) (*bot.InteractionContext, error)
}

type Service

type Service struct{}

func New

func New() *Service

func (*Service) AwaitChannelSelect

func (service *Service) AwaitChannelSelect(interaction *bot.InteractionContext, selectMenu components.ChannelSelect) (*bot.InteractionContext, error)

func (*Service) AwaitSimpleTextModal

func (service *Service) AwaitSimpleTextModal(interaction *bot.InteractionContext, textInput components.TextInput, modalData components.ModalData) (*bot.InteractionContext, error)

func (*Service) AwaitStringSelect

func (service *Service) AwaitStringSelect(interaction *bot.InteractionContext, options []components.SelectOption, selectMenu components.StringSelect) (*bot.InteractionContext, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL