From 4d81675066032fa5a4433d37c5939674abc7f5d9 Mon Sep 17 00:00:00 2001
From: lipengwei <lipengwei@nianben.com>
Date: Fri, 27 Sep 2019 11:15:14 +0800
Subject: [PATCH] no message

---
 frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerGenericTemplateElement.h |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerGenericTemplateElement.h b/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerGenericTemplateElement.h
index d70dd96..0f76587 100644
--- a/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerGenericTemplateElement.h
+++ b/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerGenericTemplateElement.h
@@ -21,11 +21,15 @@
 #import <FBSDKCoreKit/FBSDKCopying.h>
 #import <FBSDKShareKit/FBSDKShareMessengerActionButton.h>
 
+NS_ASSUME_NONNULL_BEGIN
+
 /**
  A model for sharing a generic template element to Messenger. This allows specifying title, subtitle,
  image, default action, and any other buttons. Title is required. See
  https://developers.facebook.com/docs/messenger-platform/send-messages/template/generic for more details.
  */
+NS_SWIFT_NAME(ShareMessengerGenericTemplateElement)
+DEPRECATED_FOR_MESSENGER
 @interface FBSDKShareMessengerGenericTemplateElement : NSObject <FBSDKCopying, NSSecureCoding>
 
 /**
@@ -36,21 +40,23 @@
 /**
  The rendered subtitle for the shared generic template element. Optional.
  */
-@property (nonatomic, copy) NSString *subtitle;
+@property (nonatomic, copy, nullable) NSString *subtitle;
 
 /**
  The image url that will be downloaded and rendered at the top of the generic template. Optional.
  */
-@property (nonatomic, copy) NSURL *imageURL;
+@property (nonatomic, copy, nullable) NSURL *imageURL;
 
 /**
  The default action executed when this shared generic tempate is tapped. Title for this button is ignored. Optional.
  */
-@property (nonatomic, copy) id<FBSDKShareMessengerActionButton> defaultAction;
+@property (nonatomic, copy, nullable) id<FBSDKShareMessengerActionButton> defaultAction;
 
 /**
  This specifies what action button to show below the generic template. Optional.
  */
-@property (nonatomic, copy) id<FBSDKShareMessengerActionButton> button;
+@property (nonatomic, copy, nullable) id<FBSDKShareMessengerActionButton> button;
 
 @end
+
+NS_ASSUME_NONNULL_END

--
Gitblit v1.8.0