Created
September 16, 2020 16:37
-
-
Save vsecoder-old-account/09e6127e8c9b839539d593ca4be46a24 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyrogram import Client, filters | |
from pyrogram.errors import FloodWait | |
from pyrogram.raw import functions | |
from pyrogram.types import ChatPermissions | |
import time, requests, json | |
from time import sleep | |
import random | |
app = Client("my_account") | |
@app.on_message(filters.command("test", prefixes=".")) | |
def test(app, msg): | |
msg.edit_text("Работает!") | |
app.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment