2017-12-06 14:40:12 +00:00
|
|
|
# greed configuration file
|
|
|
|
|
|
|
|
# Config file parameters
|
|
|
|
[Config]
|
|
|
|
; Config file version. DO NOT EDIT THIS!
|
2018-04-12 08:21:11 +00:00
|
|
|
version = 11
|
2017-12-06 14:40:12 +00:00
|
|
|
; Set this to no when you are done editing the file
|
|
|
|
is_template = yes
|
|
|
|
|
|
|
|
# Telegram bot parameters
|
|
|
|
[Telegram]
|
|
|
|
; Your bot token goes here. Get one from @BotFather!
|
2017-12-13 10:20:53 +00:00
|
|
|
token = 123456789:YOUR_TOKEN_GOES_HERE_______________
|
|
|
|
; Time in seconds before a conversation with no new messages expires
|
|
|
|
; A lower value reduces memory usage but can be inconvenient for the users
|
2017-12-14 09:25:05 +00:00
|
|
|
conversation_timeout = 7200
|
|
|
|
; Time to wait before sending another getUpdates request
|
2017-12-17 15:49:46 +00:00
|
|
|
long_polling_timeout = 30
|
|
|
|
|
|
|
|
# Database parameters
|
|
|
|
[Database]
|
|
|
|
; The database engine you want to use. Refer to http://docs.sqlalchemy.org/en/latest/core/engines.html for the possible settings.
|
2017-12-26 17:15:30 +00:00
|
|
|
engine = sqlite://
|
|
|
|
|
2018-01-10 10:29:02 +00:00
|
|
|
# General payment settings
|
2018-01-03 13:52:05 +00:00
|
|
|
[Payments]
|
2018-01-10 10:29:02 +00:00
|
|
|
# ISO currency code
|
|
|
|
currency = EUR
|
|
|
|
# Currency exp parameter. You can find that on https://core.telegram.org/bots/payments/currencies.json
|
|
|
|
currency_exp = 2
|
|
|
|
|
|
|
|
# Credit card payment settings
|
|
|
|
[Credit Card]
|
|
|
|
# Provider token: get the token at @BotFather
|
|
|
|
credit_card_token = 123456789:YOUR_TOKEN_HERE_
|
2018-01-29 10:46:01 +00:00
|
|
|
# Minimum wallet payment accepted (in miniumum currency units, $1.00 = 100 units)
|
|
|
|
min_amount = 1000
|
|
|
|
# Maximum wallet payment accepted (in miniumum currency units, $1.00 = 100 units)
|
|
|
|
max_amount = 10000
|
2018-01-15 09:16:04 +00:00
|
|
|
# Make the user pay a fee when loading the wallet with a credit card
|
|
|
|
# Credit card fee percentage (set to 0.0 to disable)
|
|
|
|
fee_percentage = 2.9
|
|
|
|
# Credit card fee fixed (in miniumum currency units, $1.00 = 100 units) (set to 0 to disable)
|
|
|
|
fee_fixed = 30
|
|
|
|
# Require the name of the user
|
2018-01-10 10:29:02 +00:00
|
|
|
name_required = yes
|
2018-01-15 09:16:04 +00:00
|
|
|
# Require the email of the user
|
2018-01-10 10:29:02 +00:00
|
|
|
email_required = yes
|
2018-01-15 09:16:04 +00:00
|
|
|
# Require the phone number of the user
|
2018-04-12 08:21:11 +00:00
|
|
|
phone_required = yes
|
|
|
|
|
|
|
|
# Exception reporting settings
|
|
|
|
[Error Reporting]
|
|
|
|
# Optional sentry token: get the token at https://sentry.io/
|
|
|
|
sentry_token = https://00000000000000000000000000000000:00000000000000000000000000000000@sentry.io/0000000
|