S
S
sazhin2021-11-12 14:49:16
Telegram
sazhin, 2021-11-12 14:49:16

How to update information about telegram bot participants?

When users start the bot, a /start message is sent, from which I can grab the username, first + last name data. But this data is changeable.

Is it possible to somehow keep this data up-to-date if users no longer send messages to me, but will continue to be members?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
robprane, 2021-11-12
@robprane

You can store the ID of the first message sent to the user and periodically update the message text slightly. In response, you get a Message object that contains data about the chat.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question