Switch to V2 Format

This commit is contained in:
XelXen 2022-06-18 20:54:34 +05:30 committed by GitHub
parent 67783fe16f
commit 5c12be9d50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
.github/tg.py vendored
View File

@ -21,7 +21,7 @@ def bot():
Signed-off-by: {data['commit']['author']['name']}
[inline URL](http://www.example.com/)
''', parse_mode=telegram.ParseMode.MARKDOWN)
''', parse_mode=telegram.ParseMode.MARKDOWNV2)
bot.send_media_group(TG_POST_ID, [telegram.InputMediaDocument(open('app-x86-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-x86_64-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-armeabi-v7a-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-arm64-v8a-debug.apk', 'rb'))])
system('killall -9 python')