fn build_media_content(
    old_widget: Option<Widget>,
    media_message: MediaMessage,
    format: ContentFormat,
    session: &Session,
) -> Widget
Expand description

Build the content widget of the given media content.

If the given old widget is of the proper type, it is reused.