add missing gif sticker format (#3081)

This commit is contained in:
Mihail Gribkov
2025-03-16 00:36:52 +03:00
committed by GitHub
parent 3a40b586ab
commit 6f623a65e4

View File

@@ -257,6 +257,7 @@ namespace Discord
{ {
StickerFormatType.None or StickerFormatType.Png or StickerFormatType.Apng => "png", // In the case of the Sticker endpoint, the sticker will be available as PNG if its format_type is PNG or APNG, and as Lottie if its format_type is LOTTIE. StickerFormatType.None or StickerFormatType.Png or StickerFormatType.Apng => "png", // In the case of the Sticker endpoint, the sticker will be available as PNG if its format_type is PNG or APNG, and as Lottie if its format_type is LOTTIE.
StickerFormatType.Lottie => "lottie", StickerFormatType.Lottie => "lottie",
StickerFormatType.Gif => "gif",
_ => throw new ArgumentException(nameof(format)), _ => throw new ArgumentException(nameof(format)),
}; };
} }