a document?
Show your code
already fixed
@client.on(events.NewMessage(pattern="/test")) async def test(event): await client(functions.messages.SendMediaRequest(peer = event.sender_id, message = "test", media = InputMediaUploadedPhoto(await client.upload_file("imgpath"), noforwards=True ))
Обсуждают сегодня