mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
15 lines
453 B
Swift
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)
|
|
}
|