async def get(self,request_configuration: Optional[RequestConfiguration[LastMessagePreviewRequestBuilderGetQueryParameters]] = None) -> Optional[ChatMessageInfo]:
        """
        Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[ChatMessageInfo]
        """
        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_info import ChatMessageInfo

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

        Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[ChatMessageInfo]
        
msgraph/generated/chats/item/last_message_preview/last_message_preview_request_builder.py