feat: complete rewrite

This commit is contained in:
Aleksandr Bukhalo
2020-03-19 16:21:35 +03:00
parent 5cf452784f
commit 9fedcb964f
25 changed files with 309 additions and 395 deletions

View File

@@ -0,0 +1,11 @@
import { SetMetadata } from '@nestjs/common';
import { DECORATORS } from '../telegraf.constants';
/**
* Handler for /start command.
*
* https://telegraf.js.org/#/?id=start
*/
export function TelegrafStart(): MethodDecorator {
return SetMetadata(DECORATORS.START, {});
}