mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various improvements [skip ci]
This commit is contained in:
@@ -1474,6 +1474,18 @@ public extension TelegramEngine {
|
||||
return _internal_applyChannelBoost(account: self.account, peerId: peerId, slots: slots)
|
||||
}
|
||||
|
||||
public func getPaidMessagesRevenue(peerId: EnginePeer.Id) -> Signal<StarsAmount?, NoError> {
|
||||
return _internal_getPaidMessagesRevenue(account: self.account, peerId: peerId)
|
||||
}
|
||||
|
||||
public func addNoPaidMessagesException(peerId: EnginePeer.Id, refundCharged: Bool) -> Signal<Never, NoError> {
|
||||
return _internal_addNoPaidMessagesException(account: self.account, peerId: peerId, refundCharged: refundCharged)
|
||||
}
|
||||
|
||||
public func updateChannelPaidMessagesStars(peerId: EnginePeer.Id, stars: StarsAmount?) -> Signal<Never, NoError> {
|
||||
return _internal_updateChannelPaidMessagesStars(account: self.account, peerId: peerId, stars: stars)
|
||||
}
|
||||
|
||||
public func recommendedChannels(peerId: EnginePeer.Id?) -> Signal<RecommendedChannels?, NoError> {
|
||||
return _internal_recommendedChannels(account: self.account, peerId: peerId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user