mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-25 07:24:39 +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);
|