mirror of
				https://github.com/maunium/stickerpicker
				synced 2025-11-04 06:07:16 +00:00 
			
		
		
		
	Updated Enabling the widget (markdown)
							parent
							
								
									6caf649211
								
							
						
					
					
						commit
						73698b206a
					
				@ -5,23 +5,23 @@
 | 
			
		||||
   have the following content:
 | 
			
		||||
 | 
			
		||||
   ```json
 | 
			
		||||
   {
 | 
			
		||||
  "type": "m.widgets",
 | 
			
		||||
  "content": {
 | 
			
		||||
    "stickerpicker": {
 | 
			
		||||
    {
 | 
			
		||||
      "type": "m.widgets",
 | 
			
		||||
      "content": {
 | 
			
		||||
        "type": "m.stickerpicker",
 | 
			
		||||
        "url": "https://demonwarext.github.io/stickerpicker/web/?theme=$theme",
 | 
			
		||||
        "name": "Stickerpicker",
 | 
			
		||||
        "data": {}
 | 
			
		||||
      },
 | 
			
		||||
      "sender": "@you:matrix.server.name",
 | 
			
		||||
      "state_key": "stickerpicker",
 | 
			
		||||
      "type": "m.widget",
 | 
			
		||||
      "id": "stickerpicker"
 | 
			
		||||
        "stickerpicker": {
 | 
			
		||||
          "content": {
 | 
			
		||||
            "type": "m.stickerpicker",
 | 
			
		||||
            "url": "https://demonwarext.github.io/stickerpicker/web/?theme=$theme",
 | 
			
		||||
            "name": "Stickerpicker",
 | 
			
		||||
            "data": {}
 | 
			
		||||
          },
 | 
			
		||||
          "sender": "@you:matrix.server.name",
 | 
			
		||||
          "state_key": "stickerpicker",
 | 
			
		||||
          "type": "m.widget",
 | 
			
		||||
          "id": "stickerpicker"
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
   ```
 | 
			
		||||
 | 
			
		||||
    If you do not yet have a `m.widgets` event, simply create it with that content.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user