Swiftgram/submodules/AccountContext/Sources/ChatListController.swift
2020-02-19 16:59:06 +04:00

15 lines
453 B
Swift

import Foundation
import UIKit
import Postbox
import Display
public protocol ChatListController: ViewController {
var context: AccountContext { get }
var lockViewFrame: CGRect? { get }
func activateSearch()
func deactivateSearch(animated: Bool)
func activateCompose()
func maybeAskForPeerChatRemoval(peer: RenderedPeer, deleteGloballyIfPossible: Bool, completion: @escaping (Bool) -> Void, removed: @escaping () -> Void)
}