2015-10-01 18:19:52 +02:00
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
#import "TGNotificationPrivacyAccountSetting.h"
|
|
|
|
#import "TGAccountTTLSetting.h"
|
|
|
|
|
|
|
|
@interface TGAccountSettings : NSObject <NSCoding>
|
|
|
|
|
|
|
|
@property (nonatomic, strong, readonly) TGNotificationPrivacyAccountSetting *notificationSettings;
|
2016-02-25 01:03:51 +01:00
|
|
|
@property (nonatomic, strong, readonly) TGNotificationPrivacyAccountSetting *groupsAndChannelsSettings;
|
2015-10-01 18:19:52 +02:00
|
|
|
@property (nonatomic, strong, readonly) TGAccountTTLSetting *accountTTLSetting;
|
|
|
|
|
|
|
|
- (instancetype)initWithDefaultValues;
|
2016-02-25 01:03:51 +01:00
|
|
|
- (instancetype)initWithNotificationSettings:(TGNotificationPrivacyAccountSetting *)notificationSettings groupsAndChannelsSettings:(TGNotificationPrivacyAccountSetting *)groupsAndChannelsSettings accountTTLSetting:(TGAccountTTLSetting *)accountTTLSetting;
|
2015-10-01 18:19:52 +02:00
|
|
|
|
|
|
|
@end
|