summaryrefslogtreecommitdiff
path: root/Juick/APIClient.h
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-08 23:17:47 +0300
committerGravatar Vitaly Takmazov2018-04-08 23:17:47 +0300
commitf6fed5b2374c7d847c68efccce363f9513aa2efb (patch)
tree74021a451bd5cfb1df1a7771a32dbc121a7163c6 /Juick/APIClient.h
parent6f8855ce3b83cc50583b62b4a1960c27fdf66bb3 (diff)
PM posts
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 46e86c7..dd7d13b 100644
--- a/Juick/APIClient.h
+++ b/Juick/APIClient.h
@@ -19,6 +19,7 @@
-(void) pullNextFromPath:(NSString *)path params:(NSDictionary *)params callback:(void(^)(NSArray *, 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;
-(void) fetchChats:(void(^)(NSArray *, NSError *))callback;
-(void) fetchChatWithUser:(NSString *)uname callback:(void(^)(NSArray *, NSError *))callback;