Skip to content

Commit

Permalink
Move name property for sticker action up a level
Browse files Browse the repository at this point in the history
This is how element web does it
  • Loading branch information
turt2live committed Sep 4, 2020
1 parent 5be2635 commit 63a7f7b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions api/widgets/definitions/sticker_action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ properties:
description: |-
Information about the sticker to send.
properties:
name:
type: string
description: |-
The human-readable name for the sticker.
example: "Smiling Face"
content:
type: object
title: StickerActionRequestEventContent
properties:
name:
type: string
description: |-
The human-readable name for the sticker.
example: "Smiling Face"
description:
type: string
description: |-
Expand Down Expand Up @@ -73,7 +73,6 @@ properties:
type: string
example: "mxc://example.org/abc1234"
required:
- name
- info
- url
required: ['content']
required: ['content', 'name']

0 comments on commit 63a7f7b

Please sign in to comment.