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

23 просмотра

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.

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

Карта сайта