SharedApplicationContext
1
2
3
let sharedContext: SharedAccountContextImpl
let notificationManager: SharedNotificationManager
let wakeupManager: SharedWakeupManager
UnauthorizedApplicationContext
1
2
3
let sharedContext: SharedAccountContextImpl
let account: UnauthorizedAccount
let rootController: AuthorizationSequenceController
AccountContext
1
2
3
4
5
6
7
8
public let sharedContextImpl: SharedAccountContextImpl
public let account: Account
public let fetchManager: FetchManager
private let prefetchManager: PrefetchManager?
public let downloadedMediaStoreManager: DownloadedMediaStoreManager
public let liveLocationManager: LiveLocationManager?
public let wallpaperUploadManager: WallpaperUploadManager?
private let themeUpdateManager: ThemeUpdateManager?
SharedAccountContext
1
2
3
4
5
6
7
8
9
10
11
12
13
public let mainWindow: Window1?
public let applicationBindings: TelegramApplicationBindings
var accountManager: AccountManager
var mediaManager: MediaManager
var locationManager: DeviceLocationManager?
var callManager: PresentationCallManager?
var contactDataManager: DeviceContactDataManager?
public var presentationData: Signal<PresentationData, NoError>
public var automaticMediaDownloadSettings: Signal<MediaAutoDownloadSettings, NoError>
public let currentMediaInputSettings: Atomic<MediaInputSettings>
public let currentInAppNotificationSettings: Atomic<InAppNotificationSettings>