ProfileBannerSize

enum ProfileBannerSize : Enum<ProfileBannerSize>

Profile banners allow users to further customize the expressiveness of their profiles. To upload a profile banner on behalf of a user, use POST account / update_profile_banner. Profile banners come in a variety of display-enhanced sizes. The variant sizes are available through a request to GET users / profile_banner or by modifying the final path component of the profile_banner_url found in a user object according to the table below. The profile banner data available at each size variant’s URL is in PNG format.

Twitter API reference

Entries

Link copied to clipboard

1500x500.

Link copied to clipboard

600x200.

Link copied to clipboard

300x100.

Link copied to clipboard

520x260.

Link copied to clipboard

1040x520.

Link copied to clipboard

626x313.

Link copied to clipboard

1252x626.

Link copied to clipboard

320x160.

Link copied to clipboard

640x320.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int