text_to_docs#
- langchain_community.document_loaders.telegram.text_to_docs(text: str | List[str]) List[Document] [source]#
Convert a string or list of strings to a list of Documents with metadata.
- Parameters:
text (str | List[str]) –
- Return type:
List[Document]