relaycc / receiver

Relay Receiver is a React library that makes it easy to add Web3 messaging to your website.
http://www.demo.relay.cc
MIT License
38 stars 2 forks source link

Render content with buttons. #101

Open seanonchain opened 1 year ago

seanonchain commented 1 year ago

Other tickets would be improved by Receiver rendering certain content with actionable buttons within the chat. For example, Seaport trades or Huddle video call.

We should be able to render special messages that are instantiated one of two ways

  1. When the user posts a link we recognize we transform it (like discord does, for example when a discord invite link is posted inside discord it is turned into this format:

    Screen Shot 2022-10-27 at 3 06 45 PM
  2. When an icon (like the Huddle video call) is clicked, Receiver sends a message on the user's behalf.