ZendeskApi_v2.Requests.Users.SetUserPhotoAsync C# (CSharp) Method

SetUserPhotoAsync() public method

public SetUserPhotoAsync ( long userId, ZenFile photo ) : Task
userId long
photo ZenFile
return Task
        public Task<IndividualUserResponse> SetUserPhotoAsync(long userId, ZenFile photo)
        {
            return GenericPutAsync<IndividualUserResponse>(string.Format("users/{0}.json", userId), photo, "user[photo][uploaded_data]");
        }
#endif