gifAvatar

fun User.gifAvatar(size: Int? = null): String?(source)

Gets the url of the user's avatar in GIF format.

Return

the url of the gif formatted avatar or null if there is no custom avatar.

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.