UNPKG

react-teamspeak-remote-app-api

Version:
13 lines (12 loc) 483 B
import { ITSRemoteAppOptions } from "../interfaces/api"; import { IClient, IChannel, IConnection } from "../interfaces/teamspeak"; export default function useTSRemoteApp(options: ITSRemoteAppOptions): { clients: IClient[]; channels: IChannel[]; connections: IConnection[]; activeConnectionId: number; currentConnection: IConnection | undefined; currentChannel: IChannel | undefined; currentClient: IClient | undefined; clientsInChannel: IClient[]; };