@line/bot-sdk
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -0,1 +1,7 @@ | ||
## 3.1.1 (19 Sep 2017) | ||
#### Type | ||
* Fix type of postback.params | ||
## 3.1.0 (19 Sep 2017) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "@line/bot-sdk", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Node.js SDK for LINE Messaging API", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -46,6 +46,3 @@ /* tslint:disable interface-over-type-literal no-namespace */ | ||
type: "postback", | ||
postback: { | ||
data: string, | ||
params?: string, | ||
}, | ||
postback: Postback, | ||
} & ReplyableEvent; | ||
@@ -88,2 +85,11 @@ export type BeaconEvent = ReplyableEvent & { | ||
export type Postback = { | ||
data: string, | ||
params?: { | ||
date?: string, | ||
time?: string, | ||
datetime?: string, | ||
}, | ||
}; | ||
export type Message = | ||
@@ -90,0 +96,0 @@ TextMessage | ImageMessage | VideoMessage | AudioMessage | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229801
6468