(apiKey, sessionId, userStatusBytes)
| 292 | } |
| 293 | |
| 294 | export function buildUpdatePanelStateWithUserStatusRequest(apiKey, sessionId, userStatusBytes) { |
| 295 | const parts = [ |
| 296 | writeMessageField(1, buildMetadata(apiKey, undefined, sessionId)), |
| 297 | ]; |
| 298 | if (userStatusBytes?.length) { |
| 299 | parts.push(writeMessageField(2, userStatusBytes)); |
| 300 | } |
| 301 | return Buffer.concat(parts); |
| 302 | } |
| 303 | |
| 304 | // ─── Cascade flow builders ───────────────────────────────── |
| 305 |
no test coverage detected