Skip to content

Constants

This module contains common string constants and enums used across the Voxta ecosystem. Using these constants is recommended to avoid typos in event listeners.

EventType

The EventType class contains string constants for all events emitted by the VoxtaClient.

Usage

from voxta_client.constants import EventType

@client.on(EventType.MESSAGE)
def handle_msg(payload):
    ...

ServiceType

The ServiceType enum defines the different types of services available in the Voxta platform (e.g., STT, TTS, LLM). These are used during capability negotiation.

Bases: str, Enum