Files
GLEGram-iOS/submodules/TelegramCore/Sources/TelegramEngine/Messages/EngineGroupCallDescription.swift
T
Leeksov 4647310322 GLEGram 12.5 — Initial public release
Based on Swiftgram 12.5 (Telegram iOS 12.5).
All GLEGram features ported and organized in GLEGram/ folder.

Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass,
Font Replacement, Fake Profile, Chat Export, Plugin System, and more.

See CHANGELOG_12.5.md for full details.
2026-04-06 09:48:12 +03:00

40 lines
1.1 KiB
Swift

import Postbox
public final class EngineGroupCallDescription {
public let id: Int64
public let accessHash: Int64
public let title: String?
public let scheduleTimestamp: Int32?
public let subscribedToScheduled: Bool
public let isStream: Bool?
public init(
id: Int64,
accessHash: Int64,
title: String?,
scheduleTimestamp: Int32?,
subscribedToScheduled: Bool,
isStream: Bool?
) {
self.id = id
self.accessHash = accessHash
self.title = title
self.scheduleTimestamp = scheduleTimestamp
self.subscribedToScheduled = subscribedToScheduled
self.isStream = isStream
}
}
public extension EngineGroupCallDescription {
convenience init(_ activeCall: CachedChannelData.ActiveCall) {
self.init(
id: activeCall.id,
accessHash: activeCall.accessHash,
title: activeCall.title,
scheduleTimestamp: activeCall.scheduleTimestamp,
subscribedToScheduled: activeCall.subscribedToScheduled,
isStream: activeCall.isStream
)
}
}