mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-06-01 20:11:41 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
24 lines
942 B
Objective-C
24 lines
942 B
Objective-C
#import <SSignalKit/SSignalKit.h>
|
|
#import <WatchCommonWatch/WatchCommonWatch.h>
|
|
|
|
@class TGBridgeImageMediaAttachment;
|
|
@class TGBridgeVideoMediaAttachment;
|
|
@class TGBridgeDocumentMediaAttachment;
|
|
|
|
typedef enum
|
|
{
|
|
TGMediaStickerImageTypeList,
|
|
TGMediaStickerImageTypeNormal,
|
|
TGMediaStickerImageTypeInput
|
|
} TGMediaStickerImageType;
|
|
|
|
@interface TGBridgeMediaSignals : NSObject
|
|
|
|
+ (SSignal *)thumbnailWithPeerId:(int64_t)peerId messageId:(int32_t)messageId size:(CGSize)size notification:(bool)notification;
|
|
+ (SSignal *)avatarWithPeerId:(int64_t)peerId url:(NSString *)url type:(TGBridgeMediaAvatarType)type;
|
|
|
|
+ (SSignal *)stickerWithDocumentId:(int64_t)documentId packId:(int64_t)packId accessHash:(int64_t)accessHash type:(TGMediaStickerImageType)type;
|
|
+ (SSignal *)stickerWithDocumentId:(int64_t)documentId peerId:(int64_t)peerId messageId:(int32_t)messageId type:(TGMediaStickerImageType)type notification:(bool)notification;
|
|
|
|
@end
|