1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Share/TGUploadMediaSignals.h
2015-10-01 19:19:52 +03:00

13 lines
398 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;
@end