diff options
Diffstat (limited to 'Juick/Model/Message.h')
-rw-r--r-- | Juick/Model/Message.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Juick/Model/Message.h b/Juick/Model/Message.h new file mode 100644 index 0000000..b100e7d --- /dev/null +++ b/Juick/Model/Message.h @@ -0,0 +1,29 @@ +// +// Message.h +// Juick +// +// Created by Vitaly Takmazov on 29.10.13. +// Copyright (c) 2013 com.juick. All rights reserved. +// + +#import <Foundation/Foundation.h> +#import "User.h" + +@interface Message : NSObject + +@property NSNumber *MID; +@property NSNumber *RID; +@property User *user; +@property NSString *text; +@property NSArray<NSString *> *tags; +@property NSString *timestamp; +@property NSString *attach; +@property NSString *repliesBy; +@property NSNumber *repliesCount; + ++(void) pullNextFromPath:(NSString *)path params:(NSDictionary *)params callback:(void(^)(NSArray *))callback; ++(NSString *) messagesUrl; ++(NSString *) threadUrl; ++(NSString *) feedUrl; + +@end |