mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
13 lines
398 B
Objective-C
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
|