Похожие чаты

Hi, I need to copy the message and send it

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?

5 ответов

13 просмотров

You can't do that. media is account-specific, only the message receiver can send it back

Mⷨaͣᴛⷮrͬiͥxͯ- Автор вопроса
⎞ .·. ⎝ ⎝
You can't do that. media is account-specific, only...

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

Mⷨaͣᴛⷮrͬiͥxͯ
I understand, but I have all the data about the me...

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

Mⷨaͣᴛⷮrͬiͥxͯ- Автор вопроса
⎞ .·. ⎝ ⎝
You don't really have much data for the media, it'...

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)

Mⷨaͣᴛⷮrͬiͥxͯ- Автор вопроса
⎞ .·. ⎝ ⎝
You don't really have much data for the media, it'...

The ids argument in get_messages helped me, thx

Похожие вопросы

Обсуждают сегодня

30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
Also, why can’t the community have a vote/ say when it comes to initiatives like buybacks. Isn’t the point of crypto decentralisation? Don’t we deserve input as long term supp...
👨🏽‍🦰
13
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
Привет)) уже кажется эту тему перемусолили, но вот я так и не понял. Я сейчас сижу на 27дюймов 2к мониторе. На Актуальной макоси, если я куплю 27д 4к монитор: - будет ли изобр...
Vladislav Piskunov
15
any reference of this implementation?
BitBuddha
29
Hi guys, any problem with Pulsebrige? Trying to transfer from wETH to ETH. First it tells me to connect my metamask "through mobile app" not desktop. Then I did and confirmed ...
Snowflakecrypto
13
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Карта сайта