Skip to content

Configuration

Habib Rohman edited this page Feb 11, 2021 · 1 revision

Example configuration

Can be found inside config.toml file, inside telegram-rss folder, after the first time running python -m telegram_rss.

bot_token = "987654321:ASDASDASD-1sda2eas3asd-91sdajh28j"
env_token = "TOKEN"
users = [ 123456789,]
channels = [ -123456789,]
web_page_preview = true
message_delay = 0.05
read_more_button = "Read more"

[[feeds]]
name = "Feed example online"
source = "http://feedparser.org/docs/examples/atom10.xml"
footer_link = "http://feedparser.org/docs/"

[[feeds]]
name = "Feed example local"
source = "c:\\incoming\\atom10.xml"
save_bandwith = false
footer = false

[template_data]
author = "Author"
source = "Source"
Clone this wiki locally