diff options
| author | Austin Hellyer <[email protected]> | 2016-11-07 11:43:15 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-07 11:43:15 -0800 |
| commit | a114a55efb5b08f9e5f289203db2dfd4db82852a (patch) | |
| tree | 8522e8eb3e77534ecf5c8e0208746b587eae887b /definitions/structs/embed.yml | |
| parent | Add Attachment::download{,to_directory} (diff) | |
| download | serenity-a114a55efb5b08f9e5f289203db2dfd4db82852a.tar.xz serenity-a114a55efb5b08f9e5f289203db2dfd4db82852a.zip | |
Add webhook support
Diffstat (limited to 'definitions/structs/embed.yml')
| -rw-r--r-- | definitions/structs/embed.yml | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/definitions/structs/embed.yml b/definitions/structs/embed.yml index 423642f..05cc803 100644 --- a/definitions/structs/embed.yml +++ b/definitions/structs/embed.yml @@ -1,21 +1,48 @@ --- name: Embed -description: An embed in a message for a URL +description: An embed in a message, such as for a URL or an attachment. fields: + - name: author + description: Author information about the embed. + type: EmbedAuthor + - name: colour + description: The color code of the embed. + from: color + type: u64 - name: description + description: The description of the embed. This is the long string of text. optional: true type: string + - name: fields + array: true + description: The array of fields of the embed. + type: EmbedField + - name: image + description: The image information of the embed. + type: EmbedImage - name: kind + description: > + The type of the embed. For webhook embeds, this is always `rich`. from: type type: string - name: provider + description: The provider information for the embed. optional: true type: EmbedProvider + - name: timestamp + description: Timestamp of embed content. + type: string - name: url + description: The URL of the embed. type: string - name: thumbnail + description: The thumbnail provided for the embed. optional: true type: EmbedThumbnail - name: title + description: The title of the embed. optional: true type: string + - name: video + description: The embed's video information. + type: EmbedVideo |