# vi:ft=toml:
# Telegram API key
api_key = "YOU_KNOW_WHERE_TO_GET_THIS"
# where to listen on (sockets are not supported since 0.3.0)
listen_on = "0.0.0.0:25"
# whether we need to handle unknown adresses
# - relay: send them to default one
# - deny: drop them
unknown = "relay"
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# vi:ft=toml:
# Telegram API key
api_key = "YOU_KNOW_WHERE_TO_GET_THIS"
# Telegram API gateway (when you are running your own)
api_gateway = "https://api.telegram.org" # <- note no trailing slash
# where to listen on (sockets are not supported since 0.3.0)
listen_on = "0.0.0.0:25"
# whether we need to handle unknown adresses
# - relay: send them to default one
# - deny: drop them
unknown = "relay"