summaryrefslogtreecommitdiff
path: root/Juick/Message.h
blob: 3f11c0e6882f32883e1f9da4bd03d1bb1e1ccc28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
//  Message.h
//  Juick
//
//  Created by Vitaly Takmazov on 29.10.13.
//  Copyright (c) 2013 com.juick. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <RestKit/RestKit.h>

@interface Message : NSObject

@property NSNumber *MID;
@property NSNumber *RID;
@property NSString *user;
@property NSNumber *userID;
@property NSString *text;
@property NSArray *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