Update API [skip ci]

This commit is contained in:
Ilya Laktyushin
2023-09-12 18:57:18 +04:00
parent e893cca836
commit f401a79e39
8 changed files with 540 additions and 32 deletions

View File

@@ -1196,6 +1196,10 @@ public extension TelegramEngine {
public func canApplyChannelBoost(peerId: EnginePeer.Id) -> Signal<CanApplyBoostStatus, NoError> {
return _internal_canApplyChannelBoost(account: self.account, peerId: peerId)
}
public func applyChannelBoost(peerId: EnginePeer.Id) -> Signal<Bool, NoError> {
return _internal_applyChannelBoost(account: self.account, peerId: peerId)
}
}
}