Frigate - access camera entity in automation?

I’m trying to create a Frigate Telegram automation from scratch.

Current solutions involve listening on MQTT for frigate events, and then using data from those events to get pictures/video. I’m attempting to use the mapped Frigate HA entities to do similar.

For the trigger I’m using the “person occupancy” sensors. For the telegram message I want to use the Frigate camera entities, but all examples I see rely on some kind of saved snapshot or url to the camera.

Generally then, is it possible to use the camera entity as a handle to an image (or even video) to be used later in an automation (in this case a Telegram message)?

It would help if you shared the code that did work for your other cameras?