chore: publish 0.7.0 release (#6)

* feat(TelegramActionHandler): add 'action' parameter  for handling 'callback_data'
This commit is contained in:
Aleksandr Bukhalo
2020-01-15 17:30:47 +03:00
committed by GitHub
parent 57baf28809
commit 6138ae0918
5 changed files with 26 additions and 14 deletions

View File

@@ -1,4 +1,5 @@
import { ContextTransformer } from './'
import { HearsTriggers } from 'telegraf'
import { Type } from '@nestjs/common'
interface ArgumentTransformation {
@@ -10,5 +11,6 @@ export interface HandleParameters {
onStart?: boolean
command?: string
message?: string | RegExp
action?: HearsTriggers
transformations?: ArgumentTransformation[]
}