Package-level declarations

Types

Link copied to clipboard
sealed class Transition

Represents a transition from one wizard step to another.

Link copied to clipboard
data class UserChatReference(val userId: Long, val chatId: Long)
Link copied to clipboard
abstract class WizardActivity : Activity

Abstract runtime executor for wizard flows. Manages step transitions and state persistence using provided state managers. Concrete implementations are generated by KSP. Extends Activity to integrate with ActivityRegistry.

Link copied to clipboard
class WizardContext(val user: User, val update: ProcessedUpdate, val bot: TelegramBot, val session: Session? = null)

Context passed to wizard steps, containing all necessary information.

Link copied to clipboard
interface WizardStateManager<T : Any>
Link copied to clipboard
abstract class WizardStep(val isInitial: Boolean = false)

Base class for wizard steps. Each step defines entry behavior, validation, and optional state storage.