Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge branch 'fix-openurl-msteams' of https://github.com/MilitantSout…
Browse files Browse the repository at this point in the history
…h/botkit into 069
  • Loading branch information
Ben Brown committed Jan 29, 2018
2 parents b67f135 + 1bfd0c4 commit 1a52b4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Teams.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,15 +270,15 @@ function TeamsBot(configuration) {
this.content.text = v;
return this;
},
button: function(type, title, payload) {
button: function(type, title, value) {
if (!this.content.buttons) {
this.content.buttons = [];
}

var button_obj = (typeof(type) === 'object') ? type : {
type: type,
title: title,
payload: payload,
value: value,
};

this.content.buttons.push(button_obj);
Expand Down

0 comments on commit 1a52b4b

Please sign in to comment.