---
title: "denyCallID(_:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkvoicechatservice/denycallid(_:)"
---

# denyCallID(_:)

Rejects a request to establish a voice chat.

## Declaration

```swift
func denyCallID(_ callID: Int)
```

## Parameters

- `callID`: An integer that identifies the connection request.

## Discussion

Discussion When a remote user requests a voice chat, the voice chat service calls the client’s voiceChatService(_:didReceiveInvitationFromParticipantID:callID:) method. The client calls this method to reject the request or acceptCallID(_:) to accept it.

## See Also

### Methods Called by the Client

- [acceptCallID(_:)](gamekit/gkvoicechatservice/acceptcallid(_:).md)
- [receivedData(_:fromParticipantID:)](gamekit/gkvoicechatservice/receiveddata(_:fromparticipantid:).md)
- [receivedRealTime(_:fromParticipantID:)](gamekit/gkvoicechatservice/receivedrealtime(_:fromparticipantid:).md)
