Options
All
  • Public
  • Public/Protected
  • All
Menu

vk-io-pages

Index

Type aliases

DefaultButtonActionUnion: `${DefaultButtonAction}`
DefaultButtonLabel: string
DefaultButtonsTypeUnion: `${DefaultButtonsType}`
ExtendedMessageContextOptions: IMessageContextSendOptions & { keyboard?: FunctionalKeyboard }
Fallback<C>: ((context: PagesContext<C>, next: () => void) => unknown) | null

Type parameters

  • C: Context = Context

FunctionPage<C>: (context: IPagesBuilderOptions<C>["context"]) => StringPage | ObjectPage | Promise<ObjectPage | StringPage>

Type parameters

  • C: Context = Context

Type declaration

FunctionalKeyboard: KeyboardBuilder | ((context: IPagesBuilderOptions["context"]) => KeyboardBuilder)
Middleware<C>: (context: PagesContext<C>, next: () => void) => unknown

Type parameters

  • C: Context = Context

Type declaration

    • Parameters

      • context: PagesContext<C>
      • next: () => void
          • (): void
          • Returns void

      Returns unknown

PageSendMethodUnion: `${PageSendMethod}`
PagesContext<C>: ({ pagesBuilder: any } & C) | C

Type parameters

  • C: Context = Context

PagesStorage: Map<string, PagesBuilder>
StringPage: string
TriggersMap: Map<ITrigger["name"], ITrigger["callback"]>

Variables

pagesStorage: PagesStorage = ...

Generated using TypeDoc