Skip to content

Commit

Permalink
Merge pull request #24 from wictorwilen/preview
Browse files Browse the repository at this point in the history
Release of v1.9.1
  • Loading branch information
wictorwilen committed Jun 23, 2022
2 parents 3b27da9 + f8d290c commit 19c6730
Show file tree
Hide file tree
Showing 5 changed files with 14,001 additions and 1,613 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).


## [*1.9.1*] - <*2022-06-23*>

### Changes

* Marked `BotCallingWebhook` as deprecated (Typescript typings only)

## [*1.9.0*] - <*2021-11-18*>

### Changes
Expand All @@ -21,11 +28,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Fixed

* Fixed in assue with CSP where the current host was not added correctly
* Fixed in issue with CSP where the current host was not added correctly

### Changes

* **BREAKING**: Upgraded to `botbuilder` version `4.14.1` as minumum version
* **BREAKING**: Upgraded to `botbuilder` version `4.14.1` as minimum version
* Dependency bump
* Moved to Github actions
* Moved to ESLint
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ export class myBot extends TeamsActivityHandler {

### Adding support for Calling in bots

> **NOTE:** This method is deprecated and might be deleted in the future. For now it will remain available for usage.
When adding calling support to bots you need to create an incoming webhook method of your bot implementation. This method should be decorated with the `BotCallingWebhook` decorator and must follow the [Express middleware signature](http://expressjs.com/en/4x/api.html#middleware-callback-function-examples). The endpoint you specify in the decorator, has to represent the calling endpoint you specify when registering the Teams Channel to your Bot in the Azure portal.

``` TypeScript
Expand All @@ -68,7 +70,6 @@ export class myBot extends TeamsActivityHandler {
...
}
}

```

### Decorators for Message Extensions
Expand Down Expand Up @@ -128,7 +129,7 @@ export class myConnector implements IConnector {

### Decorator for Outgoing Webhooks

Outgoing Webhooks MUST be implemented as a class implementing the `IOutdegoingWebhook` interface and decorated using the `OutgoingWebhookDeclaration` decorator.
Outgoing Webhooks MUST be implemented as a class implementing the `IOutgoingWebhook` interface and decorated using the `OutgoingWebhookDeclaration` decorator.

``` TypeScript
import { OutgoingWebhookDeclaration, IOutgoingWebhook } from 'express-msteams-host';
Expand Down
Loading

0 comments on commit 19c6730

Please sign in to comment.