mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-26 07:48:11 +03:00
6 lines
153 B
TypeScript
6 lines
153 B
TypeScript
|
import { ContextMessageUpdate } from 'telegraf'
|
||
|
|
||
|
export interface ContextTransformer<T = any> {
|
||
|
transform: (ctx: ContextMessageUpdate) => Promise<T>
|
||
|
}
|