2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-01 23:05:15 +00:00

Add scraped inline query results

This commit is contained in:
Dan
2018-10-15 11:34:27 +02:00
parent c37dcb07cf
commit dd642f5b9d
21 changed files with 1366 additions and 2 deletions

View File

@@ -172,8 +172,9 @@ def start():
with open("{}/source/auth_key.tl".format(HOME), encoding="utf-8") as auth, \
open("{}/source/sys_msgs.tl".format(HOME), encoding="utf-8") as system, \
open("{}/source/main_api.tl".format(HOME), encoding="utf-8") as api:
schema = (auth.read() + system.read() + api.read()).splitlines()
open("{}/source/main_api.tl".format(HOME), encoding="utf-8") as api, \
open("{}/source/bot.tl".format(HOME), encoding="utf-8") as pyro:
schema = (auth.read() + system.read() + api.read() + pyro.read()).splitlines()
with open("{}/template/mtproto.txt".format(HOME), encoding="utf-8") as f:
mtproto_template = f.read()