Function WebRTCDataChannel.getId
Returns the id assigned to this channel during creation (or auto-assigned during negotiation).
If the channel is not negotiated out-of-band the id will only be available after the connection is established (will return 65535
until then).
long getId() nothrow @nogc const;