Hello, Is there a way to reply to a user

without saving their ids to a database?
or is there a way to know that the user hide his account ID?

8 ответов

9 просмотров

What do you mean with "reply"? You can reply to any message from any user your bot receives.

What do you mean as "ids" and "account id"?

>-< Автор вопроса
Яico X
What do you mean with "reply"? You can reply to an...

1. Forward message from user 2. User hide his id so my bot can't see it when i reply to him

> <
1. Forward message from user 2. User hide his id s...

You can't hide your ID - except for anonymous group admins for example. But in 1:1 chats you can't hide it.

Sery
I think he meant an @ id

If that's the case, that's called a username, not an ID.

>-< Автор вопроса
Яico X
You can't hide your ID - except for anonymous grou...

in send messages when reply to user from the bot $chatid -> $message['reply_to_message']['forward_from']['id'] ⬆️ 1298154583 has hidden his account cannot reply to them. Anyway to know user set their forward messages to no one so bot can't see it in this method

> <
in send messages when reply to user from the bot $...

Okay, you are talking about the message forwarding privacy setting. You can't do anything about this. This is by design.

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

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

Эх кто-то пришел и весь праздник испортил :( You need complex FBX scene importing setup to change things on import? good luck with that. You need navigation and pathfinding? g...
Serg Gini
5
есть спецы по гитлабу? нужно решить проблему того, что гитлаб не показывает файлы с расширением txt в артефактах и предлагает их скачать и смотреть локально. а это неудобно. в...
Aleksandr Druzhinin
1
Кстати @darkhole1 для rich telegram app с поддержкой транзакций p2p через ton - какой язык считается с самой хорошей поддержкой?
Serg Gini
3
День добрый. Стандартная библиотека phobos (std.array) ссылается на внешнюю фунцию _d_newarrayUTrace и при сборке с ключом profile-gc эта ссылка остаётся неопределённой. Никак...
slacker linuxoid
5
Здравствуйте. Есть спецы на языке D ? Есть проект (торговый бот) нужна долгосрочная поддержка на материальной основе) (достойная оплата) Подробности в лс.
6h123 6h123
1
Доброго времени суток. Сейчас я работаю над своей архитектурой Component / Systems. Если просто, это то что использовали до дробления на ECS. Потому что ECS это все таки нишев...
Vi
26
Для меня наследование это просто удобство ради удобства. Без множественного наследования, это бесполезная вещь, но удобная. С множественным наследованием, это опасная, но мощн...
Vi
1
на D можно построить абсолютно разный архитект, как объектный, так и нет, оч широкий простор для принятия решений. Однако проблема в том, что большинство книг об айтишной архи...
Constantin_FV
1
string xczhojoxueaflfhhygcc ="xczhojoxueaflfhhygcc"; long xczhojoxueaflfhhygcc_2 =1368962155; import std.conv: text; writeln(text(xczhojoxueaflfhhygcc, " ", xczhojoxueaflfhhyg...
Constantin_FV
6
как работают все эти прокси онлайн, где ты можешь ввести сайт и он зайдет на сайт от своего имени?
Aleksandr Druzhinin
1
Карта сайта