mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-27 00:08:09 +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);
|