mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
16 lines
560 B
Objective-C
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
|