Skip to content

sendMessageToUser

sendMessageToUser(steamId64, sendFlags, data, channel): void

Sends a message to a Steam user on a channel. A session is created implicitly when needed. The receiver must call receiveMessagesOnChannel with the same channel.

bigint

SteamID of the receiver

number

Bitmask of Steam’s k_nSteamNetworkingSend_* values, for example 8 for reliable or 0 for unreliable

Buffer

Payload bytes

number

Routing number; use 0 when you do not need channels

void

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.