1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGGenericPeerMediaGalleryModel.h
2016-02-25 01:03:51 +01:00

16 lines
560 B
Objective-C

#import "TGModernGalleryModel.h"
@protocol TGModernGalleryItem;
@interface TGGenericPeerMediaGalleryModel : TGModernGalleryModel
@property (nonatomic, readonly) int64_t peerId;
@property (nonatomic) int64_t attachedPeerId;
- (instancetype)initWithPeerId:(int64_t)peerId atMessageId:(int32_t)atMessageId allowActions:(bool)allowActions important:(bool)important;
- (instancetype)initWithPeerId:(int64_t)peerId allowActions:(bool)allowActions messages:(NSArray *)messages atMessageId:(int32_t)atMessageId;
- (void)replaceMessages:(NSArray *)messages;
@end