to another channel, but I track messages from the first account, and send from the second, I get the error:
The provided media object is invalid or the current account may not be able to send it (such as games as users) (caused by SendMediaRequest)
The second account is also in the first conversation, can I, having the message ID, find it and update the media data in order to send it from the second account?
You can't do that. media is account-specific, only the message receiver can send it back
I understand, but I have all the data about the message and the second account is in the original chat, I want to use the data from the first account about the message to find it from the second and upload the media data, update the message object
You don't really have much data for the media, it's just three things, which two of them are account-unique, there is nothing you can do other than downloading and re-uploading with the other account
I can load the object of this message from the second account and this will solve the problem, I’m just trying to figure out how to find the desired message (having an id and the entire message object)
The ids argument in get_messages helped me, thx
Обсуждают сегодня