nestjs-telegraf/lib/HandleParameters.ts
2019-02-28 10:29:26 +02:00

14 lines
311 B
TypeScript

import { ContextTransformer } from './ContextTransformer'
import { Type } from '@nestjs/common'
interface ArgumentTransformation {
index: number
transform: Type<ContextTransformer>
}
export interface HandleParameters {
onStart?: boolean
command?: string
transformations?: ArgumentTransformation[]
}