TelegramClient(name, api_id, api_hash) as client: result = client(functions.channels.GetMessagesRequest( channel='username', id=[42] )) print(result.stringify())
what is id=[42] ??
you can replace get with iter_messages. read the docs first and don't send random code around
Обсуждают сегодня