jpgAvatar

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

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

Return

the url of the jpg 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.