message_id = message.reply_message.conversation_message_id
await bot.api.messages.delete(peer_id=message.peer_id, message_ids=message_id, delete_for_all=True, group_id=group_id)
message_id = message.reply_message.conversation_message_id
await bot.api.messages.delete(peer_id=message.peer_id, cmids=message_id, delete_for_all=True, group_id=group_id)
text = "Тест"
def test():
text = "Тест" # Вот код из app
print(text)
from main import *
def app():
text = "test"
test(app)
def test(app):
app()
print(text)