Last active
April 16, 2019 17:22
-
-
Save kajornsakp/624d8b0f76541f0df4a67f28b26a273e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A single chat message, to be used as an array element for input to Smart Reply. | |
*/ | |
NS_SWIFT_NAME(TextMessage) | |
@interface FIRTextMessage : NSObject | |
/** | |
* Text of the chat message. | |
*/ | |
@property(nonatomic, readonly) NSString *text; | |
/** | |
* Timestamp of the chat message. | |
*/ | |
@property(nonatomic, readonly) NSTimeInterval timestamp; | |
/** | |
* User id of the message sender. | |
*/ | |
@property(nonatomic, readonly) NSString *userID; | |
/** | |
* Indicates whether this message is from the user that the suggestions are generated for. | |
*/ | |
@property(nonatomic, readonly) BOOL isLocalUser; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment