diff options
author | Vitaly Takmazov | 2018-04-08 23:17:47 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-08 23:17:47 +0300 |
commit | f6fed5b2374c7d847c68efccce363f9513aa2efb (patch) | |
tree | 74021a451bd5cfb1df1a7771a32dbc121a7163c6 /Juick/APIClient.h | |
parent | 6f8855ce3b83cc50583b62b4a1960c27fdf66bb3 (diff) |
PM posts
Diffstat (limited to 'Juick/APIClient.h')
-rw-r--r-- | Juick/APIClient.h | 1 |
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; |