---
title: "voiceChatService(_:send:toParticipantID:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkvoicechatclient/voicechatservice(_:send:toparticipantid:)"
---

# voiceChatService(_:send:toParticipantID:)

A request for the client to send data to a participant.

## Declaration

```swift
func voiceChatService(_ voiceChatService: GKVoiceChatService, send data: Data, toParticipantID participantID: String)
```

## Parameters

- `voiceChatService`: The service that requested the transmission.
- `data`: The data to send.
- `participantID`: A string that uniquely identifies the participant to send the data to.

## Discussion

Discussion An implementation of this method must reliably transmit the data to the participant identified by participantID. When the client on the other end receives the data, it should forward it to the voice chat service by calling the service’s receivedData(_:fromParticipantID:) method.

## See Also

### Sending data to other participants

- [voiceChatService(_:sendRealTime:toParticipantID:)](gamekit/gkvoicechatclient/voicechatservice(_:sendrealtime:toparticipantid:).md)
