Update API

This commit is contained in:
Ilya Laktyushin
2023-11-09 02:15:50 +04:00
parent 57e0533a8a
commit 145c674185
8 changed files with 194 additions and 1 deletions

View File

@@ -1240,6 +1240,14 @@ public extension TelegramEngine {
public func applyChannelBoost(peerId: EnginePeer.Id, slots: [Int32]) -> Signal<MyBoostStatus?, NoError> {
return _internal_applyChannelBoost(account: self.account, peerId: peerId, slots: slots)
}
public func recommendedChannels(peerId: EnginePeer.Id) -> Signal<RecommendedChannels?, NoError> {
return _internal_recommendedChannels(account: self.account, peerId: peerId)
}
public func toggleRecommendedChannelsHidden(peerId: EnginePeer.Id, hidden: Bool) -> Signal<Never, NoError> {
return _internal_toggleRecommendedChannelsHidden(account: self.account, peerId: peerId, hidden: hidden)
}
}
}