summaryrefslogtreecommitdiff
path: root/Juick/APIClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/APIClient.h')
-rw-r--r--Juick/APIClient.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Juick/APIClient.h b/Juick/APIClient.h
index ca511a5..9347da9 100644
--- a/Juick/APIClient.h
+++ b/Juick/APIClient.h
@@ -6,6 +6,7 @@
// Copyright © 2016 com.juick. All rights reserved.
//
#import <Foundation/Foundation.h>
+#import "Message.h"
@import AFNetworking;
@interface APIClient : NSObject
@@ -14,7 +15,7 @@
+(APIClient *) sharedClient;
-(void) pullNextFromPath:(NSString *)path params:(NSDictionary *)params callback:(void(^)(NSArray *, NSError *))callback;
--(void) postReplyToThread:(NSNumber *)mid inReplyTo:(NSNumber *)rid text:(NSString *)text;
+-(void) postReplyToThread:(NSNumber *)mid inReplyTo:(NSNumber *)rid text:(NSString *)text result:(void(^)(Message *, NSError *))callback;
+(NSString *) messagesUrl;
+(NSString *) threadUrl;