M
M
mshuribitov2022-01-13 22:09:35
Python
mshuribitov, 2022-01-13 22:09:35

How to get the user ID through a forwarded message?

In general, you forward a message from any user to the bot and it should display the ID of that person, how to implement this?

I am using the telebot library

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2022-01-13
@mshuribitov

message.forward_from.id
https://core.telegram.org/bots/api#message

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question