channelOrNull

The channel index if the key carries a leading channel digit, or null for a legacy unprefixed direct-message key. Callers that must distinguish "channel 0" from "no channel prefix" (e.g. PKI vs legacy DM routing) need this rather than channel.