extractCommandWaitId

Extracts the command wait ID from the message header.

Return

The wait command ID if present, null otherwise.