// // Message.h // Juick // // Created by Vitaly Takmazov on 29.10.13. // Copyright (c) 2013 com.juick. All rights reserved. // #import #import "User.h" #import "Attachment.h" #import "Entity.h" NS_ASSUME_NONNULL_BEGIN @interface Message : NSObject @property NSNumber * _Nonnull mid; @property NSNumber * _Nullable rid; @property User *user; @property NSString * _Nullable text; @property NSArray *tags; @property NSArray *entities; @property NSString *timestamp; @property NSString *attach; @property NSString *repliesBy; @property NSNumber *repliesCount; @property Attachment * _Nullable attachment; @property BOOL service; @property BOOL unread; +(Message *) fromJSON:(NSDictionary *)jsonData; @end NS_ASSUME_NONNULL_END