WildcatIP / other.js

The Chatternet feature platform
GNU Affero General Public License v3.0
7 stars 1 forks source link

Rich web embed feature #136

Open kharmabum opened 7 years ago

kharmabum commented 7 years ago

Proposed format:

{
    "text": "hey <&b302addb43d94fb39c6e5831fa83a692|nerds>, check out <+db9168cd9dbf43ba99bbcb54823be88f>",
    "entities": {
        "attachments": {
            "db9168cd9dbf43ba99bbcb54823be88f": {
                "type": "link",
                "url": "http://other.xyz",
                "title": "other.js made this title for your link!",
                "preview": {
                    "type": "image",
                    "url": "https://i.imgur.com/QM8cXiE.jpg"
               }
            }
        },
        "groups": {
            "b302addb43d94fb39c6e5831fa83a692": {
                "identity_ids": [
                    "42ee72a1b1c74355a7622434164372b3",
                    "f5d1fa6df7b14a9f856d267890d7afb1"
                ]
            }
        }
    },
    "channel_id": "fcca853db49345f48d2118382fb0f63c"
}
kharmabum commented 7 years ago

I believe this is blocked by https://github.com/other-xyz/other.js/issues/182