langchain_community.document_loaders.telegram.text_to_docs¶

langchain_community.document_loaders.telegram.text_to_docs(text: Union[str, List[str]]) List[Document][source]¶

Convert a string or list of strings to a list of Documents with metadata.

Parameters

text (Union[str, List[str]]) –

Return type

List[Document]