summaryrefslogtreecommitdiff
path: root/Juick/APIClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/APIClient.h')
-rw-r--r--Juick/APIClient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/APIClient.h b/Juick/APIClient.h
index 1329868..f2b2a7c 100644
--- a/Juick/APIClient.h
+++ b/Juick/APIClient.h
@@ -15,7 +15,7 @@
+(APIClient *) sharedClient;
--(void) pullNextFromPath:(NSString *)path params:(NSDictionary *)params callback:(void(^)(NSArray *, NSError *))callback;
+-(void) pullNextFromPath:(NSString *)path params:(NSDictionary *)params callback:(void(^)(NSArray<Message *>*, NSError *))callback;
-(void) postMessage:(NSString *)text result:(void(^)(Message *, NSError *))callback;
-(void) postReplyToThread:(NSNumber *)mid inReplyTo:(NSNumber *)rid text:(NSString *)text result:(void(^)(Message *, NSError *))callback;
-(void) postPMToUser:(NSString *)uname text:(NSString *)text result:(void(^)(NSError *))callback;