# C_TTSSettings: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_TTSSettings

## Functions

### C_TTSSettings.GetChannelEnabled

```lua
enabled = C_TTSSettings.GetChannelEnabled(channelInfo)
```

Arguments:
- `channelInfo`: ChatChannelInfo

Returns:
- `enabled`: bool

### C_TTSSettings.GetCharacterSettingsSaved

```lua
settingsBeenSaved = C_TTSSettings.GetCharacterSettingsSaved()
```

Returns:
- `settingsBeenSaved`: bool

### C_TTSSettings.GetChatTypeEnabled

```lua
enabled = C_TTSSettings.GetChatTypeEnabled(chatName)
```

Arguments:
- `chatName`: cstring

Returns:
- `enabled`: bool

### C_TTSSettings.GetSetting

```lua
enabled = C_TTSSettings.GetSetting(setting)
```

Arguments:
- `setting`: TtsBoolSetting

Returns:
- `enabled`: bool

### C_TTSSettings.GetSpeechRate

```lua
rate = C_TTSSettings.GetSpeechRate()
```

Returns:
- `rate`: number

### C_TTSSettings.GetSpeechVolume

```lua
volume = C_TTSSettings.GetSpeechVolume()
```

Returns:
- `volume`: number

### C_TTSSettings.GetVoiceOptionID

```lua
voiceID = C_TTSSettings.GetVoiceOptionID(voiceType)
```

Arguments:
- `voiceType`: TtsVoiceType

Returns:
- `voiceID`: number

### C_TTSSettings.GetVoiceOptionName

```lua
voiceName = C_TTSSettings.GetVoiceOptionName(voiceType)
```

Arguments:
- `voiceType`: TtsVoiceType

Returns:
- `voiceName`: cstring

### C_TTSSettings.MarkCharacterSettingsSaved

```lua
C_TTSSettings.MarkCharacterSettingsSaved()
```

### C_TTSSettings.SetChannelEnabled

```lua
C_TTSSettings.SetChannelEnabled(channelInfo, [newVal])
```

Arguments:
- `channelInfo`: ChatChannelInfo
- `newVal`: bool, default false

### C_TTSSettings.SetChannelKeyEnabled

```lua
C_TTSSettings.SetChannelKeyEnabled(channelKey, [newVal])
```

Arguments:
- `channelKey`: string
- `newVal`: bool, default false

### C_TTSSettings.SetChatTypeEnabled

```lua
C_TTSSettings.SetChatTypeEnabled(chatName, [newVal])
```

Arguments:
- `chatName`: cstring
- `newVal`: bool, default false

### C_TTSSettings.SetDefaultSettings

```lua
C_TTSSettings.SetDefaultSettings()
```

### C_TTSSettings.SetSetting

```lua
C_TTSSettings.SetSetting(setting, [newVal])
```

Arguments:
- `setting`: TtsBoolSetting
- `newVal`: bool, default false

### C_TTSSettings.SetSpeechRate

```lua
C_TTSSettings.SetSpeechRate(newVal)
```

Arguments:
- `newVal`: number

### C_TTSSettings.SetSpeechVolume

```lua
C_TTSSettings.SetSpeechVolume(newVal)
```

Arguments:
- `newVal`: number

### C_TTSSettings.SetVoiceOption

```lua
C_TTSSettings.SetVoiceOption(voiceType, voiceID)
```

Arguments:
- `voiceType`: TtsVoiceType
- `voiceID`: number

### C_TTSSettings.SetVoiceOptionName

```lua
C_TTSSettings.SetVoiceOptionName(voiceType, voiceName)
```

Arguments:
- `voiceType`: TtsVoiceType
- `voiceName`: string

### C_TTSSettings.ShouldOverrideMessage

```lua
overrideMessage = C_TTSSettings.ShouldOverrideMessage(language, messageText)
```

Arguments:
- `language`: number
- `messageText`: string

Returns:
- `overrideMessage`: bool

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
