Added FeedDialogParams to fbsdk typings

This commit is contained in:
darklektor
2016-07-26 21:19:47 +03:00
parent 17dd34132c
commit 8438fa6a58
+18 -1
View File
@@ -67,11 +67,28 @@ interface PayDialogParams {
test_currency?: string;
}
interface FeedDialogParams {
method: string; // "feed"
app_id: string;
redirect_uri?: string;
display?: string;
from?: string;
to?: string;
link?: string;
picture?: string;
source?: string;
name: string;
caption?: string;
description?: string;
ref?: any;
}
declare type FBUIParams = ShareDialogParams
| PageTabDialogParams
| RequestsDialogParams
| SendDialogParams
| PayDialogParams;
| PayDialogParams
| FeedDialogParams;
interface FBLoginOptions{
auth_type?: string;