Various improvements

This commit is contained in:
Isaac
2024-01-26 20:14:16 +01:00
parent f28303a1bf
commit fc21b289a7
7 changed files with 159 additions and 27 deletions

View File

@@ -9,7 +9,7 @@ public final class AdMessageAttribute: MessageAttribute {
public enum MessageTarget {
case peer(id: EnginePeer.Id, message: EngineMessage.Id?, startParam: String?)
case join(title: String, joinHash: String)
case join(title: String, joinHash: String, peer: EnginePeer?)
case webPage(title: String, url: String)
case botApp(peerId: EnginePeer.Id, app: BotApp, startParam: String?)
}