LogoRobo.js
Packages@robojs/ai

VoiceSessionHandle

Interface: VoiceSessionHandle

Handle returned by BaseEngine.startVoiceSession to control an active session.

Properties

PropertyTypeDescription
channelIdstringVoice channel identifier associated with the session.
commitInput?() => Promise<void>Requests that buffered audio be committed for processing.
guildIdstringGuild identifier for the session.
idstringUnique 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 | stringRelated text channel identifier, when applicable.

On this page