mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
18 lines
475 B
Objective-C
18 lines
475 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import <SSignalKit/SSignalKit.h>
|
|
|
|
@interface TGPeerNotificationSettings : NSObject
|
|
|
|
@property (nonatomic, readonly) int32_t muteUntil;
|
|
|
|
- (instancetype)initWithMuteUntil:(int32_t)muteUntil;
|
|
|
|
@end
|
|
|
|
@interface TGPeerNotificationSettingsSignals : NSObject
|
|
|
|
+ (SSignal *)notificationSettingsWithPeerId:(int64_t)peerId;
|
|
+ (SSignal *)updatePeerNotificationSettingsWithPeerId:(int64_t)peerId settings:(TGPeerNotificationSettings *)settings;
|
|
|
|
@end
|