Skip to main content

ChannelMessageInput

Input for publishing a message to a channel. Delivered to every active member of the channel (regardless of location), not chunk-routed. The sender must have the channel send_messages permission.

input ChannelMessageInput {
channelId: BigInt!
uuid: String!
payload: String!
sequenceNumber: Int
}

Fields

ChannelMessageInput.channelId ● BigInt! non-null scalar

The channel id (groups.group_id) to publish to.

ChannelMessageInput.uuid ● String! non-null scalar

The sender's actor UUID (your own actor's UUID). Must be exactly 32 bytes when encoded as UTF-8.

ChannelMessageInput.payload ● String! non-null scalar

The message payload, base64-encoded. Opaque to the server; decode per your application protocol. Max 1024 bytes.

ChannelMessageInput.sequenceNumber ● Int scalar

Client-assigned correlation id for this datagram: a uint8 (0-255) that wraps at gameClientBootstrap.sequenceNumberModulo (256); defaults to 0 if omitted. For CORRELATION ONLY — it is NOT an idempotency key and the server does not dedupe replays. Echoed on any GenericErrorResponse for this send, delivered on the udpNotifications subscription.

Member Of

sendChannelMessage mutation