Add months-old WIP code, add global get_linker(),get_message(),delete_message() update Telegram, add /getmessage, multi-type media handling, misc fixes

This commit is contained in:
2025-01-20 01:28:27 +01:00
parent 9220c95636
commit 9ccc1027f7
9 changed files with 176 additions and 74 deletions

View File

@@ -5,7 +5,7 @@
def cBroadcast(context:EventContext, data:InputMessageData):
language = data.user.settings.language
if (data.user.id not in AdminIds) and (data.user.tag not in AdminIds):
if not check_bot_admin(data.user):
return send_status(context, 403, language)
destination = data.command.arguments.destination
text = (data.command.body or (data.quoted and data.quoted.text_plain))