| | |
| | | |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | @class FBSDKShareMessengerGenericTemplateElement; |
| | | |
| | | typedef NS_ENUM(NSUInteger, FBSDKShareMessengerGenericTemplateImageAspectRatio) { |
| | | FBSDKShareMessengerGenericTemplateImageAspectRatioHorizontal = 0, |
| | | FBSDKShareMessengerGenericTemplateImageAspectRatioSquare |
| | | }; |
| | | } NS_SWIFT_NAME(ShareMessengerGenericTemplateImageAspectRatio); |
| | | |
| | | /** |
| | | A model for sharing a generic template element to Messenger. This wrapper element allows |
| | |
| | | See https://developers.facebook.com/docs/messenger-platform/send-messages/template/generic |
| | | for more details. |
| | | */ |
| | | NS_SWIFT_NAME(ShareMessengerGenericTemplateContent) |
| | | @interface FBSDKShareMessengerGenericTemplateContent : NSObject <FBSDKSharingContent> |
| | | |
| | | /** |
| | |
| | | @property (nonatomic, copy) FBSDKShareMessengerGenericTemplateElement *element; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |