mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-03-14 04:51:42 +01:00
layer 172
This commit is contained in:
parent
03c0d3bde4
commit
c4997bb548
1 changed files with 6 additions and 0 deletions
|
@ -541,6 +541,12 @@ async def _fetch_and_track_mtproto(app, output_dir):
|
|||
from pyrogram.raw import functions
|
||||
from pyrogram.raw.types import InputStickerSetShortName
|
||||
|
||||
from pyrogram.raw import types
|
||||
from pathlib import Path
|
||||
with open(os.path.join(Path(types.__file__).parent, 'story_fwd_header.py'), 'w', encoding='UTF-8') as f:
|
||||
# I rly don't want to fix bug in pyrogram about using reserved words as argument names
|
||||
f.write('class StoryFwdHeader: ...')
|
||||
|
||||
configs = {
|
||||
'GetConfig': await app.invoke(functions.help.GetConfig()),
|
||||
'GetCdnConfig': await app.invoke(functions.help.GetCdnConfig()),
|
||||
|
|
Loading…
Add table
Reference in a new issue