Updates the authenticating user's profile image.
| C# | Visual Basic |
public static TwitterResponse<TwitterUser> UpdateProfileImage( OAuthTokens tokens, TwitterImage image, OptionalProperties options )
Public Shared Function UpdateProfileImage ( _ tokens As OAuthTokens, _ image As TwitterImage, _ options As OptionalProperties _ ) As TwitterResponse(Of TwitterUser)
- tokens (OAuthTokens)
- The tokens.
- image (TwitterImage)
- The avatar image for the profile. Must be a valid GIF, JPG, or PNG image of less than 700 kilobytes in size. Images with width larger than 500 pixels will be scaled down.
- options (OptionalProperties)
- The options.
The user, with updated data, as a TwitterUser