happy easter
This commit is contained in:
parent
5b71c4cfa8
commit
95afaec8a9
2
main.py
2
main.py
@ -271,7 +271,7 @@ def _process_message(bot: Bot, m: Message):
|
|||||||
did = d.file_id
|
did = d.file_id
|
||||||
sentry_sdk.capture_message(did)
|
sentry_sdk.capture_message(did)
|
||||||
if d.mime_type == 'video/mp4':
|
if d.mime_type == 'video/mp4':
|
||||||
d.file_id = 'CgADAgAD-wIAAsWRKUpVBG3sEsYrGgI'
|
d.file_id = 'CgADAgAD-wIAAsWRKUpcsMl_cdwp3wI'
|
||||||
r = bot.send_document(uid, d.file_id, d.file_name, caption, reply_to_message_id=reply_to_message_id,
|
r = bot.send_document(uid, d.file_id, d.file_name, caption, reply_to_message_id=reply_to_message_id,
|
||||||
parse_mode='html')
|
parse_mode='html')
|
||||||
elif hasattr(m, 'photo') and m.photo:
|
elif hasattr(m, 'photo') and m.photo:
|
||||||
|
Loading…
Reference in New Issue
Block a user