summaryrefslogtreecommitdiff
path: root/Juick/Model/Message.h
blob: b100e7d2eaff9f58feb082035b9bbcf89a111dcf (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
//
//  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