botframework
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -104,3 +104,3 @@ "use strict"; | ||
break; | ||
case null: | ||
case interfaces_1.FB_ATTACHMENT_TYPE.FALLBACK: | ||
if (attachment.payload === null) { | ||
@@ -107,0 +107,0 @@ var link = { user: user, link: { url: attachment.url, title: attachment.title } }; |
@@ -10,2 +10,3 @@ import { ICoordinates } from '../interfaces'; | ||
static LOCATION: string; | ||
static FALLBACK: string; | ||
} | ||
@@ -12,0 +13,0 @@ export interface IFbMessageUser { |
@@ -18,2 +18,3 @@ "use strict"; | ||
FB_ATTACHMENT_TYPE.LOCATION = 'location'; | ||
FB_ATTACHMENT_TYPE.FALLBACK = 'fallback'; //e.g. receiving link | ||
return FB_ATTACHMENT_TYPE; | ||
@@ -20,0 +21,0 @@ }()); |
{ | ||
"name": "botframework", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "Framework for messaging bots", | ||
@@ -5,0 +5,0 @@ "main": "./dist/es5/src/bot.js", |
@@ -100,3 +100,3 @@ import {IBotController, IBotSettings, IBotUser, ITextMessage, IBotReply, IBotReplyListItem} from '../interfaces' | ||
break; | ||
case null: | ||
case FB_ATTACHMENT_TYPE.FALLBACK: | ||
if (attachment.payload === null) { | ||
@@ -103,0 +103,0 @@ let link = {user, link: {url: attachment.url, title: attachment.title}}; |
@@ -14,2 +14,3 @@ import {ICoordinates} from '../interfaces'; | ||
static LOCATION: string = 'location'; | ||
static FALLBACK: string = 'fallback'; //e.g. receiving link | ||
} | ||
@@ -16,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
686941
14158