Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: 新增文字消息下载功能 #126

Open
fmz200 opened this issue Nov 11, 2023 · 2 comments
Open

[Feature]: 新增文字消息下载功能 #126

fmz200 opened this issue Nov 11, 2023 · 2 comments

Comments

@fmz200
Copy link

fmz200 commented Nov 11, 2023

Description

很多频道和群组的文案或者教程都是文字,所以建议提供一个文字消息下载功能,详细建议见【Suggested Solution】

Suggested Solution

1、配置文件config.yaml新增类型

media_types:
- text

2、文字消息保存位置

与图片保存位置相同,群组->年月->日期.txt

telegram_media_downloader:
    2023_07:
        2023_07_01.txt

3、文件内容保存格式

[发送者] 时间
消息内容

例如:

[tangyoha] 2023-11-11 10:00:02
大家点点star吧 还差2个就1k了
[Rob] 2023-11-11 10:05:02
大佬,可以放到数据库sql或db中。

Alternatives

No response

Additional Context

No response

@gaojulong
Copy link

实现了吗

@fmz200
Copy link
Author

fmz200 commented Jan 10, 2024

没有呢吧,大佬没回复我的建议

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants