Swiftgram/submodules/AccountContext/Sources/ChatListController.swift
2019-08-15 14:12:19 +03:00

14 lines
440 B
Swift

import Foundation
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)
}