AH
Size: a a a
AH
🎄Д
from telethon import TelegramClient, events
from telethon.tl.types import PeerChat
import config
chat = 000000000
client = TelegramClient(
'',
api_hash=config.telethon['api_hash'],
api_id=config.telethon['api_id']
).start(bot_token='xxx')
@client.on(events.NewMessage(chats=PeerChat(chat), blacklist_chats=True))
async def main(event):
print(event)
client.run_until_disconnected()
🎄Д
AH
from telethon import TelegramClient, events
from telethon.tl.types import PeerChat
import config
chat = 000000000
client = TelegramClient(
'',
api_hash=config.telethon['api_hash'],
api_id=config.telethon['api_id']
).start(bot_token='xxx')
@client.on(events.NewMessage(chats=PeerChat(chat), blacklist_chats=True))
async def main(event):
print(event)
client.run_until_disconnected()
NK
🎄Д
from telethon import TelegramClient, events
from telethon.tl.types import PeerChat, PeerChannel
import config
chat = 000000000
client = TelegramClient(
'',
api_hash=config.telethon['api_hash'],
api_id=config.telethon['api_id']
).start(bot_token='xxx')
@client.on(events.NewMessage(chats=[PeerChat(chat), PeerChannel(channel)], blacklist_chats=True))
async def main(event):
print(event)
client.run_until_disconnected()
AH
s
NK
NK
🎄Д
s
NK
NK
🎄Д
🎄Д
NK
NK