mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Merge commit '4e55e3aab0902379e2fa292582845bafdc76306a'
# Conflicts: # submodules/TelegramUI/Components/TextLoadingEffect/Sources/TextLoadingEffect.swift
This commit is contained in:
@@ -987,7 +987,11 @@ public protocol ChatController: ViewController {
|
||||
|
||||
var visibleContextController: ViewController? { get }
|
||||
|
||||
var searching: ValuePromise<Bool> { get }
|
||||
|
||||
var alwaysShowSearchResultsAsList: Bool { get set }
|
||||
var includeSavedPeersInSearchResults: Bool { get set }
|
||||
var showListEmptyResults: Bool { get set }
|
||||
|
||||
func updatePresentationMode(_ mode: ChatControllerPresentationMode)
|
||||
func beginMessageSearch(_ query: String)
|
||||
@@ -1103,6 +1107,7 @@ public enum ChatQuickReplyShortcutType {
|
||||
public enum ChatCustomContentsKind: Equatable {
|
||||
case quickReplyMessageInput(shortcut: String, shortcutType: ChatQuickReplyShortcutType)
|
||||
case businessLinkSetup(link: TelegramBusinessChatLinks.Link)
|
||||
case hashTagSearch
|
||||
}
|
||||
|
||||
public protocol ChatCustomContentsProtocol: AnyObject {
|
||||
@@ -1116,6 +1121,11 @@ public protocol ChatCustomContentsProtocol: AnyObject {
|
||||
|
||||
func quickReplyUpdateShortcut(value: String)
|
||||
func businessLinkUpdate(message: String, entities: [MessageTextEntity], title: String?)
|
||||
|
||||
func loadMore()
|
||||
|
||||
func hashtagSearchUpdate(query: String)
|
||||
var hashtagSearchResultsUpdate: ((SearchMessagesResult, SearchMessagesState)) -> Void { get set }
|
||||
}
|
||||
|
||||
public enum ChatHistoryListDisplayHeaders {
|
||||
|
||||
Reference in New Issue
Block a user