cloneGuildSticker abstract method
- @POST.new('/guilds/{guild_id}/stickers/clone')
- @Path.new('guild_id') required SnowflakeType guildId,
- @Body.new() required GuildStickerCloneRequest body,
Clone guild sticker.
Clone an existing sticker into this guild by referencing its id. Copies the source image server-side, so the client does not need to re-upload it. Requires manage_emojis permission in the target guild, and the source guild must permit cloning.
guildId - The ID of the guild.
body - Name not received - field will be skipped.
Implementation
@POST('/guilds/{guild_id}/stickers/clone')
Future<GuildStickerResponse> cloneGuildSticker({
@Path('guild_id') required SnowflakeType guildId,
@Body() required GuildStickerCloneRequest body,
});