Answer the question
In order to leave comments, you need to log in
Why does Telethon's get_message method return all images from one message as a separate message?
When I try to return an array of messages from a Telegram channel using the get_message method, I get an array with messages in response. But if more than one photo is attached to a post, then each photo will be returned as a separate post (with a different id).
client = TelegramClient('name', self.API_ID_TELEGRAM, self.API_HASH_TELEGRAM).start()
messages = client.get_messages(channel, limit=10)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question