mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 02:17:51 +01:00
18 lines
475 B
C
18 lines
475 B
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
|