Merge commit '698763fc05adb25088b39003583ca6a48b0e957e'

This commit is contained in:
Ali 2022-11-22 21:30:14 +04:00
commit 98cac63fff

View File

@ -291,10 +291,11 @@ public extension TelegramEngine {
public func toggleAntiSpamProtection(peerId: PeerId, enabled: Bool) -> Signal<Void, NoError> {
return _internal_toggleAntiSpamProtection(account: self.account, peerId: peerId, enabled: enabled)
}
public func reportAntiSpamFalsePositive(peerId: PeerId, messageId: MessageId) -> Signal<Bool, NoError> {
return _internal_reportAntiSpamFalsePositive(account: self.account, peerId: peerId, messageId: messageId)
}
public func requestPeerPhotos(peerId: PeerId) -> Signal<[TelegramPeerPhoto], NoError> {
return _internal_requestPeerPhotos(postbox: self.account.postbox, network: self.account.network, peerId: peerId)