main.EncryptionMode.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kord-voice Show documentation
Show all versions of kord-voice Show documentation
Idiomatic Kotlin Wrapper for The Discord API
@file:GenerateKordEnum(
name = "EncryptionMode", valueType = STRING,
docUrl = "https://discord.com/developers/docs/topics/voice-connections#establishing-a-voice-udp-connection-encryption-modes",
entries = [
Entry("XSalsa20Poly1305", stringValue = "xsalsa20_poly1305"),
Entry("XSalsa20Poly1305Suffix", stringValue = "xsalsa20_poly1305_suffix"),
Entry("XSalsa20Poly1305Lite", stringValue = "xsalsa20_poly1305_lite")
]
)
package dev.kord.voice
import dev.kord.ksp.GenerateKordEnum
import dev.kord.ksp.GenerateKordEnum.Entry
import dev.kord.ksp.GenerateKordEnum.ValueType.STRING
© 2015 - 2025 Weber Informatics LLC | Privacy Policy