def by_message_id(self,message_id: str) -> MessageItemRequestBuilder:
        """
        Provides operations to manage the messages property of the microsoft.graph.user entity.
        param message_id: The unique identifier of message
        Returns: MessageItemRequestBuilder
        """
        if message_id is None:
            raise TypeError("message_id cannot be null.")
        from .item.message_item_request_builder import MessageItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["message%2Did"] = message_id
        return MessageItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the messages property of the microsoft.graph.user entity.
        param message_id: The unique identifier of message
        Returns: MessageItemRequestBuilder
        
msgraph/generated/users/item/messages/messages_request_builder.py