---
title: "stopVoiceChat(withParticipantID:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkvoicechatservice/stopvoicechat(withparticipantid:)"
---

# stopVoiceChat(withParticipantID:)

Ends a previously established voice chat.

## Declaration

```swift
func stopVoiceChat(withParticipantID participantID: String!)
```

## Parameters

- `participantID`: A string that uniquely identifies the participant in the chat.

## Discussion

Discussion When this method is called, the client’s voiceChatService(_:didStopWithParticipantID:error:) method is called.
