Update API

This commit is contained in:
Ilya Laktyushin
2021-10-05 17:54:26 +04:00
parent 4e497dbff5
commit ab1120d3f7
3 changed files with 27 additions and 16 deletions

View File

@@ -450,10 +450,6 @@ public extension TelegramEngine {
return PeerExportedInvitationsContext(account: self.account, peerId: peerId, adminId: adminId, revoked: revoked, forceUpdate: forceUpdate)
}
public func updateInvitationRequest(peerId: PeerId, userId: PeerId, approve: Bool) -> Signal<Never, NoError> {
return _internal_updateInvitationRequest(account: self.account, peerId: peerId, userId: userId, approve: approve)
}
public func revokePersistentPeerExportedInvitation(peerId: PeerId) -> Signal<ExportedInvitation?, NoError> {
return _internal_revokePersistentPeerExportedInvitation(account: self.account, peerId: peerId)
}