A conservative comedian who supports Donald Trump says he was notified by Twitter's legal team that his account had been flagged for hateful conduct on the day he visited the White House.

Terrence K. Williams posted an angry rant on Twitter on Friday notifying his 640,000 followers that he had received the hateful conduct warning.

Williams accused Twitter of trying to take down his account on the day he met Trump and the White House for the Young Black Leadership Summit.

He shared a screenshot of a message from Twitter Legal that said some of his content had been flagged for possible violations of its hateful conduct policy.

Scroll down for video

Terrence K. Williams posted an angry rant on Twitter on Friday notifying his 640,000 followers that he had received the hateful conduct warning from the social media giant about some of his tweets

Williams said the content Twitter flagged were his tweets that were critical of Democrat Adam Schiff.

'Twitter's legal team has contacted me to notify me that my account has been flagged for possible hate conduct because I made a video about how Adam Schiff should resign,' Williams said.

In a follow up tweet, Williams later added that his tweets flagged by Twitter also included criticism of Alexandria Ocasio-Cortez.

'Leave my account alone. Somebody get (Twitter CEO) Jack Dorsey on the phone. The legal team has contacted me. They are investigating my account. This is outrageous,' he said.

'I'm p***ed off. You mean to tell me that it's hateful because I'm a black man that supports Donald J Trump?

'I'm an American who supports the President... how is that hateful?'

Williams accused Twitter of trying to take down his account on the day he met Trump and the White House for the Young Black Leadership Summit

He fumed that the warning had come on the same day he went to the White House to meet with Trump.

'The day that I go to the White House is the day that they notify me that my account may be in possible violations of hateful conduct,' he said.

'None of my conduct is hateful. I am a comedian, a conservative Trump-supporting comedian and they want to take me down because people have jumped on the Trump train after watching my content.'

Williams also said in the video that it was Twitter's attempt to take down accounts supporting Trump in the lead up to 2020.

'They are coming after Trump supporters. 2020 is around the corner and they are trying to take down accounts that support President Donald J. Trump,' he said.

'They are trying to take down big accounts like mine that support President Trump.'