Origin metadata for a message entering Vibe through an external gateway.
Gateway adapters translate platform-specific updates into this struct before they touch sessions. Keeping source identity explicit lets Telegram, future chat backends, and scheduled delivery share one session-key and authorization model without leaking platform SDK structs into agent code.
Summary
Functions
Returns a compact human-readable description for prompts and logs.
Builds a source struct from platform identity fields.
Types
@type chat_type() :: :dm | :group | :channel | :thread | :forum