Skip to main content
This page describes the Message type from aion-authoring-adk. The Message object gives ADK authors a stable, provider-neutral view of the current inbound message without inspecting raw Slack, Telegram, or other provider payloads directly.

Import

Message is not constructed directly. Access it through thread.message:
thread.message is None when the inbound turn is a task rather than a message, so always guard before accessing it.

Properties

User Properties

Methods

reply(...)

reply(...) is a convenience wrapper that delegates to thread.reply(...). It sends the reply to the same thread where the message arrived.

react(...)

react(...) expresses a normalized reaction against the current message.

Relation to Other Event Kinds

Not every inbound turn is a plain message. Reaction, command, and card-action turns may have specialized payloads. For those turns:
  • ctx.aion_runtime_context.event is the authoritative inbound event
  • thread.message may still be populated when the provider exposes a meaningful message anchor