Text Chats as Data
Most of the time when we are thinking about sending a chat message as text we just think of sending a string. This work fine in most cases but causes issues when we think about formatting or when needing to define special actions like links. This is a proposal for a potential way of treating messages differently.
Let’s say that you wanted to send this block of text as a message.
“Hello World, this is the BEST! Follow me here.”
How would you interpret the bold text? We could break up the string into distinct tokens that represent a small part of the message.