2015-10-01 18:19:52 +02:00
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
#import <SSignalKit/SSignalKit.h>
|
|
|
|
|
|
|
|
#import "TGShareContext.h"
|
|
|
|
|
|
|
|
@interface TGUploadMediaSignals : NSObject
|
|
|
|
|
|
|
|
+ (SSignal *)uploadPhotoWithContext:(TGShareContext *)context data:(NSData *)data;
|
|
|
|
+ (SSignal *)uploadFileWithContext:(TGShareContext *)context data:(NSData *)data name:(NSString *)name mimeType:(NSString *)mimeType attributes:(NSArray *)attributes;
|
2016-02-25 01:03:51 +01:00
|
|
|
+ (SSignal *)uploadVideoWithContext:(TGShareContext *)context data:(NSData *)data thumbData:(NSData *)thumbData duration:(int32_t)duration width:(int32_t)width height:(int32_t)height mimeType:(NSString *)mimeType;
|
2015-10-01 18:19:52 +02:00
|
|
|
|
|
|
|
@end
|