Похожие чаты

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

6 просмотров

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

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

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

Is UniBright Freequity an active live product ? A friend here in Asia was discussing the Tokenisation of RWA’s in his case Real Estate as he’s a developer with numerous overs...
Digital Trust
4
коллеги, добрый вечер! А никто не знает как модальная форма может себя закрыть? Ну допустим модальная форма определила, что смысла ей работать нет и хочет вернуть modalResult...
Михаил
83
Hi, is it fine to use git to backup my config? I did so many things that I don't want to miss if I switched to another OS, so how do you backup your home and configs? And shou...
Adnan Al_Beda
30
Добрый день задумываюсь о создание токена из за того что много свободного времени и вот я узнал что транзакции за перевод этого токена будут в waves и тут пришла идея при тран...
Артем
3
А если изначально бот работал так : есть сайт онлайн школы. У каждого ученика свой кабинет. Где он авторизуется по своим данным. И уже в кабинете, на самом сайте делает оплату...
Денис 💡 Фрилансер
13
А что ты вообще делаешь ?
Yesgoter
13
Hi, I am a bit confused... I just unbonded on app.persistence.one stkSTARS/STARS with a liquidity of $127. From a time period of 60 days and a reward percentage of 9.72% at t...
Matias
4
Crypto aman premium grp koi join kiya hai... Kaisa hai service any one idea??
Arvind Sharma
16
На работе пишем распределенное приложение, у которого сотни, если не тысячи настроек. Конфиги написаны на xml, расположены на разных хостах и должны быть согласованы друг с др...
Aleksandr Druzhinin
5
Всем привет 🙂 Какая-то непонятная проблема у меня с видео, раньше такого не было. Загружаю видео с гугл диска именно в видео mp4 и меняю ссылку как положено вот она: https://d...
Ксюша|Верстка на Тильде|Дизайн 🦥
6
Карта сайта