summaryrefslogtreecommitdiff
path: root/Juick/APIClient.h
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-04 11:50:14 +0300
committerGravatar Vitaly Takmazov2018-03-04 11:50:22 +0300
commita04f0db29cb280eb45888d3a56967cf9adc6214d (patch)
treeb1625107b75a906b7b402296b3a93ca11a578633 /Juick/APIClient.h
parent782219f3cdc8cac644cc33657813a5f8319dbae7 (diff)
ChatViewController
Diffstat (limited to 'Juick/APIClient.h')
-rw-r--r--Juick/APIClient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Juick/APIClient.h b/Juick/APIClient.h
index 668a0a9..46e86c7 100644
--- a/Juick/APIClient.h
+++ b/Juick/APIClient.h
@@ -20,6 +20,7 @@
-(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) fetchChats:(void(^)(NSArray *, NSError *))callback;
+-(void) fetchChatWithUser:(NSString *)uname callback:(void(^)(NSArray *, NSError *))callback;
+(NSString *) messagesUrl;
+(NSString *) threadUrl;