def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) -> ChatMessageHostedContentItemRequestBuilder:
        """
        Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity.
        param chat_message_hosted_content_id: The unique identifier of chatMessageHostedContent
        Returns: ChatMessageHostedContentItemRequestBuilder
        """
        if chat_message_hosted_content_id is None:
            raise TypeError("chat_message_hosted_content_id cannot be null.")
        from .item.chat_message_hosted_content_item_request_builder import ChatMessageHostedContentItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["chatMessageHostedContent%2Did"] = chat_message_hosted_content_id
        return ChatMessageHostedContentItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity.
        param chat_message_hosted_content_id: The unique identifier of chatMessageHostedContent
        Returns: ChatMessageHostedContentItemRequestBuilder
        
msgraph/generated/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.py