# -*- coding: utf-8 -*-

# Your telegram token (Create one if you haven't got it: https://telegram.me/botfather)
TG_TOKEN = "YOUR_TELEGRAM_TOKEN"
CHAT_ID = [259444514, 259444514]  # Your chat id to yourself (2 items for dual sim card)

KB_COMMAND = ["kb", u"课表"]
KB_IMAGE = "https://unknown"
KB_IMAGE_CAPTION = "小海的课表"

FIND_CONTACT_COMMAND = ["search", "contact", "num"]  # Commands to query contact book

AWS_COMMAND = ["aws", u"流量"]

SMS_COMMAND = ["sms"]  # Commands to send sms

# Proxy to connect to telegram
USE_PROXY = True
_PROXY = dict(http='socks5://127.0.0.1:16801', https='socks5://127.0.0.1:16801')
PROXY = None if not USE_PROXY else _PROXY

CONTACT = "/opt/sms/data/dump"  # Path to contact json file
MEM_SAVE_PATH = "/dev/shm/mmssms.db"  # DB saving path when /dev/shm is available
SAVE_PATH = "/tmp/mmssms.db"  # DB saving path when /dev/shm is not available
LAST_FILE = "/opt/sms/data/last"  # File to save the time of last checking
LOCK = "/dev/shm/sms-lock"
MAX_LOCK_WAIT = 20

FREE_SIZE = 50
CHECK_INTERVAL = 10
