blob: 51541a7c370cb188920303ed7205a19735e69a42 (
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 <RestKit/RestKit.h>
@interface Message : NSObject
@property(nonatomic, copy) NSDecimalNumber *MID;
@property(nonatomic, copy) NSDecimalNumber *RID;
@property(nonatomic, copy) NSString *user;
@property(nonatomic, copy) NSDecimalNumber *userID;
@property(nonatomic, copy) NSString *text;
@property(nonatomic, copy) NSArray *tags;
@property(nonatomic, copy) NSString *timestamp;
@property(nonatomic, copy) NSString *attach;
@property(nonatomic, copy) NSString *repliesBy;
@property(nonatomic, copy) NSDecimalNumber *repliesCount;
+(void) pullNextFromURL:(NSURL *)url callback:(void(^)(NSArray *))callback;
+(NSString *) messagesUrl;
+(NSString *) threadUrl;
@end
|