mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
18 lines
613 B
Objective-C
18 lines
613 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import <UserNotifications/UserNotifications.h>
|
|
#import <BuildConfig/BuildConfig.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface NotificationServiceImpl : NSObject
|
|
|
|
- (instancetype)initWithCountIncomingMessage:(void (^)(NSString *, int64_t, DeviceSpecificEncryptionParameters *, int64_t, int32_t))countIncomingMessage;
|
|
|
|
- (void)updateUnreadCount:(int32_t)unreadCount;
|
|
- (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent * _Nonnull))contentHandler;
|
|
- (void)serviceExtensionTimeWillExpire;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|