Reputation: 4897
Suppose I created a telegram bot with the following info;
botname: name11
username: user22
bot_token: XXXX
chat_id: YYYYY
I want to restrict other users from joining. Only myself (username: myself
) can join. Can this be done in telegram?
I am using python 3.7
Upvotes: 0
Views: 416
Reputation: 2441
There is no such settings or functionality in Telegram bots(yet). You can put a simple checking in the first line of your handlers and only respond to the authorized UserIDs.
Upvotes: 1