async def get(self,request_configuration: Optional[RequestConfiguration[ChatMessageHostedContentItemRequestBuilderGetQueryParameters]] = None) -> Optional[ChatMessageHostedContent]:
        """
        Content in a message hosted by Microsoft Teams - for example, images or code snippets.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[ChatMessageHostedContent]
        """
        request_info = self.to_get_request_information(
            request_configuration
        )
        from .........models.o_data_errors.o_data_error import ODataError

        error_mapping: dict[str, type[ParsableFactory]] = {
            "XXX": ODataError,
        }
        if not self.request_adapter:
            raise Exception("Http core is null") 
        from .........models.chat_message_hosted_content import ChatMessageHostedContent

        return await self.request_adapter.send_async(request_info, ChatMessageHostedContent, error_mapping)

        Content in a message hosted by Microsoft Teams - for example, images or code snippets.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[ChatMessageHostedContent]
        
msgraph/generated/groups/item/team/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py