keywords: emotes discord telegram
Note to self: Incorporate room-backed sticker packs.
Example: https://stickers.t2bot.io/pack/@travis:t2l.io/aLYBMlgmYx-Dimension-Huskies.json
The JSON has a subscription field which describes where to go looking for the sticker pack. The expectation is that a bot/client joins that room and tracks changes that way. The same event structure could be used for per-room stickerpacks.
Stickerpack event (currently):
{
"origin_server_ts": 1552967388789,
"content": {
"activeStickers": [
"rfoyk5HnqOFlfMTQEGQR7MDzwKCx119ZbOrI1DQ8WcJ0TXe55tbEsaXoCrhmugZw",
"xiMt5MRukoujENP5FT5aG7Raugx4WMTkYuRlkqbTlkcE6jvuuXbc4VxA2KNhNra2",
"wifgSXGxPhgJBM5qmsetq8AHVDxmR7OTtJYntQj4ceN8saCCxDkbFrtnRE27Sps3",
"4Yhro2CCkix6UpvZNvRCHuNZvmmV4nUVKggaSRs8JIfwH3k8fopQRQh8LwSsBQ6c",
"hUsAHIBx4wm7UtBvyUDMjuNUh2sDPYWhyDCdB7riwq9pFlTOrriNQdDMzeR4Q7fl",
"6kukU22KDeua0MMd4TqHmwjci9nACF3Oj3kfB6OPGcVlOWBJ6Y9tyZwwpZoUP1Cf"
],
"creatorId": "@travis:t2l.io"
},
"sender": "@stickers:t2bot.io",
"state_key": "",
"type": "io.t2bot.stickers.metadata",
"unsigned": {
"age": 1011620
},
"event_id": "$/ZNthi7BPMa59TlQSB7fr5NkUpp+tIdnfPgi/5cxKWI",
"room_id": "!aXWPPhGWkSUjCjYcdu:t2bot.io"
}
Sticker event (currently):
{
"origin_server_ts": 1552967389138,
"content": {
"description": "Sleeping",
"packId": "aLYBMlgmYx-Dimension-Huskies",
"id": "hUsAHIBx4wm7UtBvyUDMjuNUh2sDPYWhyDCdB7riwq9pFlTOrriNQdDMzeR4Q7fl",
"contentUri": "mxc://t2bot.io/c7c89ac2f8edba4ca9fbe50a547c3d0c"
},
"sender": "@stickers:t2bot.io",
"state_key": "hUsAHIBx4wm7UtBvyUDMjuNUh2sDPYWhyDCdB7riwq9pFlTOrriNQdDMzeR4Q7fl",
"type": "io.t2bot.stickers.sticker",
"unsigned": {
"age": 1011271
},
"event_id": "$fYJnOthP7FzRZP7CdR+FzNqUaf68Dz5+Ron7VAHwS3A",
"room_id": "!aXWPPhGWkSUjCjYcdu:t2bot.io"
}
This is now obsoleted by MSC1951 - custom emoji and sticker packs as rooms. This proposal had a few deficiencies which should be resolved by MSC1951, namely the inability for applications to subscribe to updates on packs.
CC all 39 people who +1'd this 鉂わ笍
Closing because obsolete
Most helpful comment
This is now obsoleted by MSC1951 - custom emoji and sticker packs as rooms. This proposal had a few deficiencies which should be resolved by MSC1951, namely the inability for applications to subscribe to updates on packs.
CC all 39 people who +1'd this 鉂わ笍