Packages@robojs/ai
VoiceSessionHandle
Interface: VoiceSessionHandle
Handle returned by BaseEngine.startVoiceSession to control an active session.
Properties
| Property | Type | Description |
|---|---|---|
channelId | string | Voice channel identifier associated with the session. |
commitInput? | () => Promise<void> | Requests that buffered audio be committed for processing. |
guildId | string | Guild identifier for the session. |
id | string | Unique identifier assigned to the session. |
pump? | (frame: VoiceInputFrame) => Promise<void> | Pump additional audio frames into the session. |
stop? | (reason?: string) => Promise<void> | Stop the session and optionally provide a reason. |
textChannelId? | null | string | Related text channel identifier, when applicable. |
