mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-27 16:18:10 +03:00
5 lines
179 B
TypeScript
5 lines
179 B
TypeScript
import { Inject } from '@nestjs/common';
|
|
import { TELEGRAF_PROVIDER } from '../telegraf.constants';
|
|
|
|
export const InjectBot = (): ParameterDecorator => Inject(TELEGRAF_PROVIDER);
|