webpSplash

fun Guild.webpSplash(size: Int? = null): String?(source)

Gets the url of the guild splash in WEBP format. Null if there is no splash.

Return

the url of the webp formatted splash or null if there is no splash.

Parameters

size

the size of the image. Must be a power of two or null.

Throws

when the size is not null or a power of two.