From a38541e14ecfea8e37c80755fb3b2ef25cd81272 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 9 Dec 2017 23:47:30 +0300 Subject: working post/reply --- Juick/APIClient.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Juick/APIClient.h') diff --git a/Juick/APIClient.h b/Juick/APIClient.h index 9347da9..a20998a 100644 --- a/Juick/APIClient.h +++ b/Juick/APIClient.h @@ -15,6 +15,7 @@ +(APIClient *) sharedClient; -(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; +(NSString *) messagesUrl; -- cgit v1.2.3