profile Banner By User Id
fun Users.profileBannerByUserId(userId: Long, vararg options: Option): JsonObjectApiAction<UserProfileBanner>
Content copied to clipboard
Returns a map of the available size variations of the specified user's profile banner. If the user has not uploaded a profile banner, a HTTP 404 will be served instead. This method can be used instead of string manipulation on the profile_banner_url returned in user objects as described in Profile Images and Banners.
The profile banner data available at each size variant's URL is in PNG format.
Receiver
Users endpoint instance.
Return
JsonObjectApiAction for UserProfileBanner model.
Parameters
user Id
The ID of the user for whom to return results. Helpful for disambiguating when a valid user ID is also a valid screen name.
options
Optional. Custom parameters of this request.