SendWhisper
Send a whisper message from one user to another.
Requires: user:manage:whispers
err := client.SendWhisper(ctx, &helix.SendWhisperParams{
FromUserID: "12345",
ToUserID: "67890",
Message: "Hey! Thanks for watching the stream!",
})
if err != nil {
fmt.Printf("Failed to send whisper: %v\n", err)
}
Parameters:
FromUserID(string, required): The ID of the user sending the whisperToUserID(string, required): The ID of the user to receive the whisperMessage(string, required): The whisper message to send (max 500 characters)
Sample Response:
Returns 204 No Content on success with an empty response body.