@@ -974,7 +974,7 @@ public protocol SharedAccountContext: AnyObject {
974974 func chatAvailableMessageActions( engine: TelegramEngine , accountPeerId: EnginePeer . Id , messageIds: Set < EngineMessage . Id > , messages: [ EngineMessage . Id : EngineMessage ] , peers: [ EnginePeer . Id : EnginePeer ] ) -> Signal < ChatAvailableMessageActions , NoError >
975975 func resolveUrl( context: AccountContext , peerId: PeerId ? , url: String , skipUrlAuth: Bool ) -> Signal < ResolvedUrl , NoError >
976976 func resolveUrlWithProgress( context: AccountContext , peerId: PeerId ? , url: String , skipUrlAuth: Bool ) -> Signal < ResolveUrlResult , NoError >
977- func openResolvedUrl( _ resolvedUrl: ResolvedUrl , context: AccountContext , urlContext: OpenURLContext , navigationController: NavigationController ? , forceExternal: Bool , openPeer: @escaping ( EnginePeer , ChatControllerInteractionNavigateToPeer ) -> Void , sendFile: ( ( FileMediaReference ) -> Void ) ? , sendSticker: ( ( FileMediaReference , UIView , CGRect ) -> Bool ) ? , sendEmoji: ( ( String , ChatTextInputTextCustomEmojiAttribute ) -> Void ) ? , requestMessageActionUrlAuth: ( ( MessageActionUrlSubject ) -> Void ) ? , joinVoiceChat: ( ( PeerId , String ? , CachedChannelData . ActiveCall ) -> Void ) ? , present: @escaping ( ViewController , Any ? ) -> Void , dismissInput: @escaping ( ) -> Void , contentContext: Any ? , progress: Promise < Bool > ? , completion: ( ( ) -> Void ) ? )
977+ func openResolvedUrl( _ resolvedUrl: ResolvedUrl , context: AccountContext , urlContext: OpenURLContext , navigationController: NavigationController ? , forceExternal: Bool , forceUpdate : Bool , openPeer: @escaping ( EnginePeer , ChatControllerInteractionNavigateToPeer ) -> Void , sendFile: ( ( FileMediaReference ) -> Void ) ? , sendSticker: ( ( FileMediaReference , UIView , CGRect ) -> Bool ) ? , sendEmoji: ( ( String , ChatTextInputTextCustomEmojiAttribute ) -> Void ) ? , requestMessageActionUrlAuth: ( ( MessageActionUrlSubject ) -> Void ) ? , joinVoiceChat: ( ( PeerId , String ? , CachedChannelData . ActiveCall ) -> Void ) ? , present: @escaping ( ViewController , Any ? ) -> Void , dismissInput: @escaping ( ) -> Void , contentContext: Any ? , progress: Promise < Bool > ? , completion: ( ( ) -> Void ) ? )
978978 func openAddContact( context: AccountContext , firstName: String , lastName: String , phoneNumber: String , label: String , present: @escaping ( ViewController , Any ? ) -> Void , pushController: @escaping ( ViewController ) -> Void , completed: @escaping ( ) -> Void )
979979 func openAddPersonContact( context: AccountContext , peerId: PeerId , pushController: @escaping ( ViewController ) -> Void , present: @escaping ( ViewController , Any ? ) -> Void )
980980 func presentContactsWarningSuppression( context: AccountContext , present: ( ViewController , Any ? ) -> Void )
0 commit comments