mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-12-15 09:49:54 +03:00
feat: new decorators for telegram bot api updates (#119)
This commit is contained in:
committed by
GitHub
parent
f496e51013
commit
6350a6e8d1
@@ -3,6 +3,6 @@ import { DECORATORS } from '../telegraf.constants';
|
||||
|
||||
/**
|
||||
* `@Update` decorator, it's like NestJS `@Controller` decorator,
|
||||
* only for Telegram Bot API updates.
|
||||
* but for Telegram Bot API updates.
|
||||
*/
|
||||
export const Update = (): ClassDecorator => SetMetadata(DECORATORS.UPDATE, {});
|
||||
|
||||
Reference in New Issue
Block a user