diff options
author | Vitaly Takmazov | 2017-12-05 01:40:51 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-12-05 01:40:51 +0300 |
commit | a228ce07cc5413a6ba164c12042ab1e4028aa5b3 (patch) | |
tree | f1e8eafe6ebcf9beebd9a0ebdd4a1f8d591f8698 /Juick/APIClient.h | |
parent | 888cbddb1eaab4f4f343ffd6e0bf8d976b579794 (diff) |
comment
Diffstat (limited to 'Juick/APIClient.h')
-rw-r--r-- | Juick/APIClient.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Juick/APIClient.h b/Juick/APIClient.h index ca511a5..9347da9 100644 --- a/Juick/APIClient.h +++ b/Juick/APIClient.h @@ -6,6 +6,7 @@ // Copyright © 2016 com.juick. All rights reserved. // #import <Foundation/Foundation.h> +#import "Message.h" @import AFNetworking; @interface APIClient : NSObject @@ -14,7 +15,7 @@ +(APIClient *) sharedClient; -(void) pullNextFromPath:(NSString *)path params:(NSDictionary *)params callback:(void(^)(NSArray *, NSError *))callback; --(void) postReplyToThread:(NSNumber *)mid inReplyTo:(NSNumber *)rid text:(NSString *)text; +-(void) postReplyToThread:(NSNumber *)mid inReplyTo:(NSNumber *)rid text:(NSString *)text result:(void(^)(Message *, NSError *))callback; +(NSString *) messagesUrl; +(NSString *) threadUrl; |