1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 17:09:46 +01:00
Telegram/Telegraph/TGNotificationController.h

20 lines
770 B
C
Raw Normal View History

2016-02-25 01:03:51 +01:00
#import "TGViewController.h"
#import "TGNotificationContentView.h"
@interface TGNotificationController : TGViewController
@property (nonatomic, readonly) UIWindow *window;
@property (nonatomic, copy) void (^navigateToConversation)(int64_t conversationId);
- (void)displayNotificationForConversation:(TGConversation *)conversation identifier:(int32_t)identifier replyToMid:(int32_t)replyToMid duration:(NSTimeInterval)duration configure:(void (^)(TGNotificationContentView *view, bool *isRepliable))configure;
- (void)dismissNotificationsForConversationId:(int64_t)conversationId;
- (void)dismissAllNotifications;
- (bool)shouldDisplayNotificationForConversation:(TGConversation *)conversation;
- (void)expandCurrentNotification;
- (void)localizationUpdated;
@end