VXIL

message.sent

Fired after a bot message is accepted and persisted

When to use this

Track successful outbound delivery and update bot-side state.

Auth

Requires authenticated bot Socket.IO connection.

Event Payload

FieldTypeDescription
event_idstringUnique event identifier
messageBotMessageSent message
request_idstringREST request trace ID
sent_atstringISO timestamp

Errors

No per-event error envelope; failures are emitted through message.delivery_failed.

cURL

Not applicable for inbound events.

TypeScript

socket.on("message.sent", (event) => {
  console.log(`Sent ${event.message.id}`);
});

Retry behavior

Treat duplicates by event_id as already-processed notifications.

On this page