mirror of
				https://github.com/DerTyp7/react-teamspeak-remote-app-api.git
				synced 2025-10-31 05:37:14 +01:00 
			
		
		
		
	fixed subchannel not being recognized
This commit is contained in:
		| @@ -35,6 +35,10 @@ export interface ITS5DataHandler { | ||||
|   getConnectionById(id: number): IConnection | undefined; | ||||
|   getChannelById(id: number, connectionId: number): IChannel | undefined; | ||||
|   getClientById(id: number, connectionId: number): IClient | undefined; | ||||
|  | ||||
|   readonly connections: IConnection[]; | ||||
|   readonly channels: IChannel[]; | ||||
|   readonly clients: IClient[]; | ||||
| } | ||||
|  | ||||
| export interface ITS5MessageHandler { | ||||
| @@ -53,6 +57,7 @@ export interface ITS5MessageHandler { | ||||
|   handleServerPropertiesUpdatedMessage(data: IServerPropertiesUpdatedMessage): void; | ||||
|   handleConnectStatusChangedMessage(data: IConnectStatusChangedMessage): void; | ||||
|   handleChannelsMessage(data: IChannelsMessage): void; | ||||
|   handleChannelCreatedMessage(data: IChannelCreatedMessage): void; | ||||
| } | ||||
|  | ||||
| // Remote App | ||||
| @@ -345,4 +350,14 @@ export interface IChannelsMessage { | ||||
|     connectionId: number; | ||||
|     info: IChannelInfos | ||||
|   } | ||||
| } | ||||
|  | ||||
| export interface IChannelCreatedMessage { | ||||
|   type: "channelCreated"; | ||||
|   payload: { | ||||
|     channelId: number; | ||||
|     connectionId: number; | ||||
|     parentId: string; | ||||
|     properties: IChannelProperties; | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user