Replies: 6 comments 19 replies
-
Personally I'd love to see a Markdown content type. Just as I sit here and use markdown to style my text I'd love to be able to do the same in messages with XMTP. Markdown support would:
The
Also, if there was an |
Beta Was this translation helpful? Give feedback.
-
The next content type that I'm probably going to get started prototyping for Relay is Reply. It's pretty straight-forward I think, probably not much more than a parent Id + a payload. We'll be using Reply to implement a number of features, but the most salient are reactions and message threads. |
Beta Was this translation helpful? Give feedback.
-
One higher-level question I've been mulling over is how to think about the idea of a content type itself. For example in HTTP a "content type" is mostly (I think) about serialization whereas it seems (to me at least) that the more interesting XMTP content types are about applications. So in addition to something like an interface Reply {
parent: MessageId;
payload: any;
} For example I've implemented a content type that can be used to do group conversation and I see "group conversation" as an "application". So to be more specific/concrete, I'm wondering: What "sorts of things" belong in a "content type"? How is everybody else thinking about this? Does an "application" layer content type maybe make sense on an individual XMTP client level but not in terms of community standardization? |
Beta Was this translation helpful? Give feedback.
-
The Image type is the one mentioned most frequently in my conversations with developers. A few teams have even expressed interest in writing an XRC! Has anyone started work on a proof-of-concept yet? |
Beta Was this translation helpful? Give feedback.
-
I don't know if it enters the "ContentType" thread but one very important piece of information about messages is the read / unread status. As XMTP is mostly about conversations, I see a very simple MVP for this: either a conversation is read or not. If it's not read, which message was last seen? It seems like most web2 messaging services handle it that way (Whatsapp, Telegram, etc.) and it covers most of the use cases. This comment is a very first introduction to the topic, I'd be happy to work with the community in order to make it become a reality. Reply to this comment with your thoughts! |
Beta Was this translation helpful? Give feedback.
-
Processing different content types without throwing errorsWe have been experimenting with creating a content type based on the Has anyone been thinking about how we ensure that different clients respond properly when receiving content types for which it doesn't have a codec? Should the community of builders align on some base types that are guaranteed to be processed and best practices when encountering unknown types? |
Beta Was this translation helpful? Give feedback.
-
With XIP-5 (Message Content Types), a framework for interoperable support of different content types in XMTP messages was introduced.
This flexible content type framework was set up to:
Developers can create any new content type that they'd like—the only requirement being that a client needs to know how to render it. If a developer wishes to provide end-to-end support for a content type within their own client, awesome! After all, it's all just part of the payload of encrypted messages.
So…what kind of content types would be interesting? Let's jam on different types that could be developed, and how they might evolve the web3 messaging UX with XMTP:
👇 Leave a comment with a description of what the content would be, and how XMTP clients would interact/support it.
(One new content type idea per comment please!)
Beta Was this translation helpful? Give feedback.
All reactions