mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Update compose example
This commit is contained in:
parent
d61a2ce8a9
commit
b35810dc9f
@ -49,13 +49,15 @@ async def compose(
|
||||
|
||||
|
||||
async def main():
|
||||
app1 = Client("account1")
|
||||
app2 = Client("account2")
|
||||
app3 = Client("account3")
|
||||
apps = [
|
||||
Client("account1"),
|
||||
Client("account2"),
|
||||
Client("account3")
|
||||
]
|
||||
|
||||
...
|
||||
|
||||
await compose([app1, app2, app3])
|
||||
await compose(apps)
|
||||
|
||||
|
||||
asyncio.run(main())
|
||||
|
Loading…
x
Reference in New Issue
Block a user