mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-28 00:28:10 +03:00
12 lines
290 B
TypeScript
12 lines
290 B
TypeScript
import { SetMetadata } from '@nestjs/common';
|
|
import { DECORATORS } from '../telegraf.constants';
|
|
|
|
/**
|
|
* Handler for /settings command.
|
|
*
|
|
* @see https://telegraf.js.org/#/?id=settings
|
|
*/
|
|
export const Settings = (): MethodDecorator => {
|
|
return SetMetadata(DECORATORS.SETTINGS, {});
|
|
};
|