Merge commit '7621e2f8dec938cf48181c8b10afc9b01f444e68' into beta

This commit is contained in:
Ilya Laktyushin
2025-12-06 02:17:48 +04:00
commit 8344b97e03
28070 changed files with 7995182 additions and 0 deletions
@@ -0,0 +1,39 @@
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
)
}
}