Свайп-реплай: Telegram-parity эффекты и иконка

This commit is contained in:
2026-03-29 16:50:59 +05:00
parent 3b26176875
commit 5e89e97301
10 changed files with 335 additions and 84 deletions

View File

@@ -2,11 +2,11 @@ import ActivityKit
import Foundation
struct CallActivityAttributes: ActivityAttributes {
/// Fixed data set when the activity starts.
let peerName: String
let peerPublicKey: String
let avatarData: Data?
let colorIndex: Int
/// Dynamic state updated during the call.
struct ContentState: Codable, Hashable {
let durationSec: Int
let isActive: Bool