mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
16 lines
471 B
Swift
16 lines
471 B
Swift
import SwiftSignalKit
|
|
|
|
public extension TelegramEngine {
|
|
final class PeersNearby {
|
|
private let account: Account
|
|
|
|
init(account: Account) {
|
|
self.account = account
|
|
}
|
|
|
|
public func updatePeersNearbyVisibility(update: PeerNearbyVisibilityUpdate, background: Bool) -> Signal<Void, NoError> {
|
|
return _internal_updatePeersNearbyVisibility(account: self.account, update: update, background: background)
|
|
}
|
|
}
|
|
}
|