updateGuildSticker abstract method

  1. @PATCH.new('/guilds/{guild_id}/stickers/{sticker_id}')
Future<GuildStickerResponse> updateGuildSticker({
  1. @Path.new('guild_id') required SnowflakeType guildId,
  2. @Path.new('sticker_id') required SnowflakeType stickerId,
  3. @Body.new() required GuildStickerUpdateRequest body,
})

Update guild sticker.

Update guild sticker. Requires manage_emojis permission. Updates sticker name, description, or tags.

guildId - The ID of the guild.

stickerId - The ID of the sticker.

body - Name not received - field will be skipped.

Implementation

@PATCH('/guilds/{guild_id}/stickers/{sticker_id}')
Future<GuildStickerResponse> updateGuildSticker({
  @Path('guild_id') required SnowflakeType guildId,
  @Path('sticker_id') required SnowflakeType stickerId,
  @Body() required GuildStickerUpdateRequest body,
});