R
R
Revs12021-12-04 12:53:27
Python
Revs1, 2021-12-04 12:53:27

How to take a specific text entered by a user in a telegram bot?

Hello!
I wanted to know how to make a function that will take a certain range of words from the text / link entered by the user?
For example, the user enters the link "instagram.com/tester?utm_medium=copy_link", you need the bot to write back only the username, that is, "tester".

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question