Ask a question to get started
Enter to send•Shift+Enter new line
TelegramChatApiLoader( self, chat_entity: Optional[EntityLike] = None, api_id: Optional[int
BaseLoader
chat_entity
Optional[EntityLike]
None
The chat entity to fetch data from.
api_id
Optional[int]
The API ID.
api_hash
Optional[str]
username
file_path
str
'telegram_data.json'
Fetch data from Telegram API and save it as a JSON file.
Load documents.
Load Telegram chat json directory dump.
Telegram
The API hash.
The username.
The file path to save the data to. Defaults to "telegram_data.json".