Track pasted images and videos in the current conversation.
MediaTracker(
self,
)Add a media item and return its placeholder text.
Add an image and return its placeholder text.
Add a video and return its placeholder text.
Get all tracked images.
Get all tracked videos.
Clear all tracked media and reset counters.
Retain only media still referenced by placeholders in current text.