Channel location parsing
When a supported channel sends a pinned location, venue, or live-share payload, Fased converts it into plain text plus structured context fields. That keeps prompts readable while still letting tools or templates access exact coordinates. Fased normalizes shared locations from chat channels into:- human-readable text appended to the inbound body, and
- structured fields in the auto-reply context payload.
- Telegram (location pins + venues + live locations)
- WhatsApp (locationMessage + liveLocationMessage)
- Matrix (
m.locationwithgeo_uri)
Text formatting
Locations are rendered as friendly lines without brackets:- Pin:
📍 48.858844, 2.294351 ±12m
- Named place:
📍 Eiffel Tower — Champ de Mars, Paris (48.858844, 2.294351 ±12m)
- Live share:
🛰 Live location: 48.858844, 2.294351 ±12m
Context fields
When a location is present, these fields are added toctx:
LocationLat(number)LocationLon(number)LocationAccuracy(number, meters; optional)LocationName(string; optional)LocationAddress(string; optional)LocationSource(pin | place | live)LocationIsLive(boolean)
Channel notes
- Telegram: venues map to
LocationName/LocationAddress; live locations uselive_period. - WhatsApp:
locationMessage.commentandliveLocationMessage.captionare appended as the caption line. - Matrix:
geo_uriis parsed as a pin location; altitude is ignored andLocationIsLiveis always false.