LemonCore. InboundMessage
(lemon_core v0.1.0)
View Source
Normalized inbound message type (shared).
This struct represents an inbound message from any channel, normalized to a
common format for processing by the router. It lives in :lemon_core so
channel adapters do not need a compile-time dependency on :lemon_router.
Summary
Types
@type message() :: %{ id: binary() | nil, text: binary(), timestamp: non_neg_integer() | nil, reply_to_id: binary() | nil }