updateGuildSticker abstract method
- @PATCH.new('/guilds/{guild_id}/stickers/{sticker_id}')
- @Path.new('guild_id') required SnowflakeType guildId,
- @Path.new('sticker_id') required SnowflakeType stickerId,
- @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,
});