MessageType filter has private access

Greetings!!!

I am trying to set the message type using messgaeType filter.But it is showing messageType filter has private access.