mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Merge commit '7d8920db82052bce3d9c6f37b2bd78edebd6f06e'
# Conflicts: # submodules/CallListUI/Sources/CallListController.swift
This commit is contained in:
@@ -1533,11 +1533,7 @@ public extension TelegramEngine {
|
||||
public func searchAdPeers(query: String) -> Signal<[AdPeer], NoError> {
|
||||
return _internal_searchAdPeers(account: self.account, query: query)
|
||||
}
|
||||
|
||||
public func markAsSeen(ad opaqueId: Data) -> Signal<Never, NoError> {
|
||||
return _internal_markAsSeen(account: self.account, opaqueId: opaqueId)
|
||||
}
|
||||
|
||||
|
||||
public func isPremiumRequiredToContact(_ peerIds: [EnginePeer.Id]) -> Signal<[EnginePeer.Id: RequirementToContact], NoError> {
|
||||
return _internal_updateIsPremiumRequiredToContact(account: self.account, peerIds: peerIds)
|
||||
}
|
||||
@@ -1677,6 +1673,18 @@ public extension TelegramEngine {
|
||||
return _internal_botsWithBiometricState(account: self.account)
|
||||
}
|
||||
|
||||
public func secureBotStorageUuid() -> Signal<String, NoError> {
|
||||
return _internal_secureBotStorageUuid(account: self.account)
|
||||
}
|
||||
|
||||
public func setBotStorageValue(peerId: EnginePeer.Id, key: String, value: String?) -> Signal<Never, BotStorageError> {
|
||||
return _internal_setBotStorageValue(account: self.account, peerId: peerId, key: key, value: value)
|
||||
}
|
||||
|
||||
public func clearBotStorage(peerId: EnginePeer.Id) -> Signal<Never, BotStorageError> {
|
||||
return _internal_clearBotStorage(account: self.account, peerId: peerId)
|
||||
}
|
||||
|
||||
public func toggleChatManagingBotIsPaused(chatId: EnginePeer.Id) {
|
||||
let _ = _internal_toggleChatManagingBotIsPaused(account: self.account, chatId: chatId).startStandalone()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user