This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Controller, Get, Post } from '@nestjs/common'; | |
@Controller('api/messages') | |
export class MessagesController { | |
@Post() | |
listen() { } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Module, NestModule } from "@nestjs/common"; | |
import { BotCommonModule } from "./common/common.bot.module"; | |
import { MessagesModule } from "./messages/messages.module"; | |
@Module({ | |
imports: [BotCommonModule, MessagesModule], | |
}) | |
export class BotModule { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@nestjs/common'; | |
import { UniversalBot } from 'botbuilder/lib/botbuilder'; | |
import * as builder from 'botbuilder'; | |
import { BotConnector } from './common.bot.connector'; | |
@Component() | |
export class Botbuilder { | |
bot: UniversalBot; | |
constructor(private readonly botConnector: BotConnector) { |
NewerOlder