Похожие чаты

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 ответов

8 просмотров

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

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

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

Let me insert my "5++" kilocents into how zcash should be positioned (and how it would have been positioned/adopted from day one). You are allowed to believe or not believe in...
eBiker
4
In a country where censorship and arbitrary decisions are the order of the day, offering a message of hope to workers and youth is necessary, but it is only possible with expe...
Ibrahim Rabiu
1
How did we have so many dormant scammers in here? Who are these people. It’s been years. We know each other. If you dm me “I’ve been an og” but haven’t said a single word her...
Justin | LGCY |
42
Hello Everyone 🙌🏻💜 Happy (?) Friday to everyone 😁😁 I have read through all the comments/feedback/complaints in the last 2 days following the CEO Update AMA. Clearly the ...
Patrick - Ultra.io
5
[sheetoshi] Would ergo docs be the best resource for someone who has a few years experience in web development and would like to learn how to build on ergo?
DiscordBridge
17
Kraken has just announced they won t support the merger of Fet and Ocean (Agix not available anyways)! This means we on Kraken are forced to close our position on loss or tran...
MG
21
Absolutely! 100+ countries? That's insane. 🌍🔥
Josh
26
Кстати, а я вот тут подумал. Допустим, у нас имеется цикл который выполняет огромное количество итераций, но мы хотим, чтобы какие-то действия исполнилось только один раз. В Я...
The Bird of Hermes
23
Доброй ночи. Вопрос знатокам. Имеется некая таблица, результат которой выведен в DBGrid на форме. И есть форма, с помощью которой можно как добавить запись, так и отредактиров...
Евгений
28
а всё почему? потому что ассемблер в отличии от яву порождает множество пагубных привычек, среди которых например можно отметить использование глобальных переменных для всего ...
Mixail Frolov
35
Карта сайта