mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
docs: added sizes 16, 32, 64 (#2666)
* documented sizes 16, 32, 64 * Removed space * Added typedef * The options to provide => Options for the Image URL * fixed
This commit is contained in:
@@ -116,9 +116,7 @@ class GroupDMChannel extends Channel {
|
||||
|
||||
/**
|
||||
* Gets the URL to this Group DM's icon.
|
||||
* @param {Object} [options={}] Options for the icon url
|
||||
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`
|
||||
* @param {number} [options.size=128] One of `128`, `256`, `512`, `1024`, `2048`
|
||||
* @param {ImageURLOptions} [options={}] Options for the Image URL
|
||||
* @returns {?string}
|
||||
*/
|
||||
iconURL({ format, size } = {}) {
|
||||
|
||||
Reference in New Issue
Block a user