It would be nice if https://webxdc.org/docs/spec/sendToChat.html could accept a mime type. Right now we must infer type only from filename extension if present.