mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-09-23 09:49:06 +03:00
chore: publish 0.7.0 release (#6)
* feat(TelegramActionHandler): add 'action' parameter for handling 'callback_data'
This commit is contained in:
committed by
GitHub
parent
57baf28809
commit
6138ae0918
@@ -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[]
|
||||
}
|
||||
|
Reference in New Issue
Block a user