diff options
author | Vitaly Takmazov | 2016-08-28 21:03:22 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-08-28 21:03:22 +0300 |
commit | 188d8e4ea870d1a6c8edd5a9b323742804badeba (patch) | |
tree | 071067f7189a6474d49abb952b1b04b820985b7a /Juick/Model/Message.h | |
parent | a74588083c4950e9237dff7a84ccdd129b72c950 (diff) |
project cleanup
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 |