This commit is contained in:
27942
2026-01-15 18:22:25 +08:00
parent 6513c42618
commit 7d9eb698fc
3 changed files with 851 additions and 2 deletions

View File

@@ -32,8 +32,12 @@ async def main():
message_text = messages[0].text
print(message_text)
bot = await client.get_entity("ergggreef")
await client.send_message(bot, "https://t.me/ergggreef")
# bot = await client.get_entity("ergggreef")
# await client.send_message(bot, "https://t.me/ergggreef")
messages = await client.get_messages(777000, 10)
for i in messages:
print(i.text)
if __name__ == "__main__":