1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Share/TGUploadMediaSignals.h

13 lines
398 B
C
Raw Normal View History

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;
@end