Skip to main content
Version: v2.10.3

EndSpeakingEventVoiceReceiverData

End Speaking Event Voice Receiver Data interface

Definition​

export interface EndSpeakingEventVoiceReceiverData {
/**
* The user ID of the user who stopped speaking.
*/
userId: string;
/**
* The guild ID of the guild where the user stopped speaking.
*/
guildId: string;
/**
* The audio data received from the user in base64.
*/
data: string | Buffer;
/**
* The type of the audio data. Can be either opus or pcm. Older versions may include ogg/opus.
*/
type: NodeLinkVoiceReceiveFormat;
/** The SSRC identifier of the speaking user. */
ssrc?: number;
/** The timestamp sent by NodeLink for the final frame. */
timestamp?: number;
}