mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 02:17:51 +01:00
14 lines
612 B
Objective-C
14 lines
612 B
Objective-C
#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;
|
|
+ (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;
|
|
|
|
@end
|