// // 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" @interface Message : NSObject @property NSNumber *mid; @property NSNumber *rid; @property User *user; @property NSString *text; @property NSArray *tags; @property NSArray *entities; @property NSString *timestamp; @property NSString *attach; @property NSString *repliesBy; @property NSNumber *repliesCount; @property Attachment *attachment; @property BOOL service; @property BOOL unread; +(Message *) fromJSON:(NSDictionary *)jsonData; @end