Raw
1 //
2 // TWTRTweetUrlEntity.h
3 //
4 // Copyright (c) 2016 Twitter. All rights reserved.
5 //
6
7 #import <TwitterKit/TWTRJSONConvertible.h>
8 #import "TWTRTweetEntity.h"
9
10 NS_ASSUME_NONNULL_BEGIN
11
12 /**
13 * A Tweet entity which represents a URL
14 */
15 @interface TWTRTweetUrlEntity : TWTRTweetEntity <NSCoding, TWTRJSONConvertible>
16
17 /**
18 * The URL to display. This property may be truncated and may
19 * not be a valid URL.
20 */
21 @property (nonatomic, copy, readonly) NSString *displayUrl;
22
23 /**
24 * The expanded URL. This property will be a valid URL.
25 */
26 @property (nonatomic, copy, readonly) NSString *expandedUrl;
27
28 /**
29 * The t.co link which will redirect to the original URL.
30 */
31 @property (nonatomic, copy, readonly) NSString *url;
32
33 @end
34
35 NS_ASSUME_NONNULL_END
36