1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGPeerNotificationSettingsSignals.h
2015-10-01 19:19:52 +03:00

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