nestjs-telegraf/sample/echo/echo.service.ts

9 lines
152 B
TypeScript
Raw Normal View History

2020-12-26 16:48:04 +03:00
import { Injectable } from '@nestjs/common';
@Injectable()
export class EchoService {
echo(text: string): string {
return `Echo: ${text}`;
}
}