how to check if a user started a bot in telegram or not?

MohammadJavad Seyyedi

I'm developing a bot in telegram , here is my problem: I have some posts in my channel which some inline_keyboards are attached to them. when a user press the button , next events happen in a bot and some messages show to a user. if user has been started the bot before , there is no problem , if not I have error. how should I check the user is member of my bot or not to handle this problem???

Sean

There is no way to check if bot can talk to user or not without send message.

You can use url with https://t.me/Bot?start=some_data format, and you will receive /start some_data, please try this link yourself.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Check what user send emoji to telegram bot

How to check telegram message type with Telegram bot api C#?

How to get the user's name in Telegram Bot?

How to print user's message in telegram bot?

Telegram bots - how can we detect that a user has started typing?

How to delete a Telegram user id when user delete the chat of the bot

Telegram check if user is admin

How to subscribe and unsubscribe a user from a telegram bot using Node.js node-telegram-bot-api?

How do I check what the admin status is in my telegram bot?

how to check url is clicked or not in telegram bot c#

How to hide ReplyKeyboardMarkup after user click in Telegram Bot API

Python Telegram Bot how to wait for user answer to a question And Return It

How can I get information from the user telegram bot?

How can I detect whether a user deletes the Telegram Bot chat?

How to process user messages after bot action in telegram?

Telegram Bot. How set command /cmd in user text input?

How to confirm if a phone number belongs to a user_id in telegram bot

How to get an input (like firstname) from user in Telegram bot?

How to make Telegram Bot get User info from mention

How to receive a file in telegram bot, process it and send it back to user?

Python telegram bot: how to distinguish a user with hidden profile?

Telegram bot initiate conversation with a user

Telegram-bot user control

How do I know if a telegram user joined my channel using telegram bot api?

How to check if a user is subscribed to a specific Telegram channel (Python / PyTelegramBotApi)?

How to create a cyclic thread that can be started/stopped at any time via python-telegram-bot command?

How to get message updates from the user after the bot message telegram bot

How to send message from bot to user at a fixed time or at intervals through python telegram bot library?

Telegram bot - How to handle conversations?