messaging-api-messenger
Advanced tools
Comparing version 1.0.0-beta.18 to 1.0.0-beta.22
@@ -30,12 +30,12 @@ import * as Types from './MessengerTypes'; | ||
declare function markSeen(idOrRecipient: Types.PsidOrRecipient, options?: Types.SendOption & Types.BatchRequestOptions): Types.BatchItem; | ||
declare function passThreadControl(recipientId: string, targetAppId: number, metadata: string, options?: { | ||
declare function passThreadControl(recipientId: string, targetAppId: number, metadata?: string, options?: { | ||
accessToken?: string; | ||
} & Types.BatchRequestOptions): Types.BatchItem; | ||
declare function passThreadControlToPageInbox(recipientId: string, metadata: string, options?: { | ||
declare function passThreadControlToPageInbox(recipientId: string, metadata?: string, options?: { | ||
accessToken?: string; | ||
}): Types.BatchItem; | ||
declare function takeThreadControl(recipientId: string, metadata: string, options?: { | ||
} & Types.BatchRequestOptions): Types.BatchItem; | ||
declare function takeThreadControl(recipientId: string, metadata?: string, options?: { | ||
accessToken?: string; | ||
} & Types.BatchRequestOptions): Types.BatchItem; | ||
declare function requestThreadControl(recipientId: string, metadata: string, options?: { | ||
declare function requestThreadControl(recipientId: string, metadata?: string, options?: { | ||
accessToken?: string; | ||
@@ -42,0 +42,0 @@ } & Types.BatchRequestOptions): Types.BatchItem; |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "1.0.0-beta.18", | ||
"version": "1.0.0-beta.22", | ||
"main": "dist/index.js", | ||
@@ -33,3 +33,3 @@ "browser": "lib/browser.js", | ||
}, | ||
"gitHead": "7d803786ccc34105e4cf105c5d25b3354e1cb283" | ||
"gitHead": "59e66d7aa3f77afe06ae1404eb625851ebb0ee26" | ||
} |
@@ -330,3 +330,3 @@ import omit from 'lodash/omit'; | ||
targetAppId: number, | ||
metadata: string, | ||
metadata?: string, | ||
options: { accessToken?: string } & Types.BatchRequestOptions = {} | ||
@@ -351,4 +351,4 @@ ): Types.BatchItem { | ||
recipientId: string, | ||
metadata: string, | ||
options: { accessToken?: string } = {} | ||
metadata?: string, | ||
options: { accessToken?: string } & Types.BatchRequestOptions = {} | ||
): Types.BatchItem { | ||
@@ -360,3 +360,3 @@ return passThreadControl(recipientId, 263902037430900, metadata, options); | ||
recipientId: string, | ||
metadata: string, | ||
metadata?: string, | ||
options: { accessToken?: string } & Types.BatchRequestOptions = {} | ||
@@ -380,3 +380,3 @@ ): Types.BatchItem { | ||
recipientId: string, | ||
metadata: string, | ||
metadata?: string, | ||
options: { accessToken?: string } & Types.BatchRequestOptions = {} | ||
@@ -383,0 +383,0 @@ ): Types.BatchItem { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
710228