Hello @sud, sud,
Currently message sensitivity property(Public, Private, Confidential etc.) can not be set via the Graph API queries. As per documentation only these message properties can be set using Graph API.
You can submit this feature request using this support link, which will be monitored by Microsoft team and make the enhancements to Graph API.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".