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