File tree Expand file tree Collapse file tree 2 files changed +41
-10
lines changed Expand file tree Collapse file tree 2 files changed +41
-10
lines changed Original file line number Diff line number Diff line change 1+ export interface ShareAdditionContent {
2+ hashtag ?: string ;
3+ }
4+
5+ export interface MessageActionButton {
6+ title : string ;
7+ url : string ;
8+ }
9+
10+ export interface MessageGenericTemplateElement {
11+ title : string ;
12+ subtitle ?: string ;
13+ imageUrl : string ;
14+ button ?: MessageActionButton ;
15+ defaultAction ?: MessageActionButton ;
16+ }
17+
18+ export interface MessageGenericTemplateContent {
19+ element : MessageGenericTemplateElement ;
20+ imageAspectRatio ?: MessageGenericTemplateImageAspectRatio ;
21+ pageID ?: string ;
22+ isSharable ?: boolean ;
23+ }
24+
25+ export enum MessageGenericTemplateImageAspectRatio {
26+ Horizontal = 0 ,
27+ Square = 1
28+ }
29+
30+ export enum MessageMediaTemplateMediaType {
31+ Image = 0 ,
32+ Video = 1
33+ }
34+
35+ export interface MessageMediaTemplateContent {
36+ mediaUrl ?: string ;
37+ attachmentID ?: string ;
38+ mediaType : MessageMediaTemplateMediaType ;
39+ pageID : string ;
40+ button ?: MessageActionButton ;
41+ }
Original file line number Diff line number Diff line change @@ -7,16 +7,6 @@ import {
77
88export * from './share-manager.common' ;
99
10- export declare enum MessageGenericTemplateImageAspectRatio {
11- Horizontal = 0 ,
12- Square = 1
13- }
14-
15- export declare enum MessageMediaTemplateMediaType {
16- Image = 0 ,
17- Video = 1
18- }
19-
2010/**
2111 * When people share links from your app to Facebook it includes a contentURL with the link to be shared.
2212 * @param {string } link Link to be shared.
You can’t perform that action at this time.
0 commit comments