detritus

GatewayLikeinterface

Everything a voice connection uses from the main gateway, Gateway.Socket is one A separate voice node passes its own, its voiceStateUpdate() can forward to whoever owns the gateway

On this page

Everything a voice connection uses from the main gateway, Gateway.Socket is one A separate voice node passes its own, its voiceStateUpdate() can forward to whoever owns the gateway

import { Media } from 'detritus-client-socket';

Media.GatewayLike;
7 propertiessrc/media.ts:45

Properties

autoReconnect
boolean
mediaGateways
{ delete(serverId: string): unknown }
sessionId
string | null
userId
string | null
voiceReconnectDelay
number
voiceReconnectMax
number
voiceStateUpdate
(guildId?: string | null, channelId?: string | null, options?: { preferredRegion?: string; selfDeaf?: boolean; selfMute?: boolean; selfVideo?: boolean }, callback?: Function) => void