If the message is a reply, bot should get id of a user – Telegram API
I am doing a bot-moderator. I am doing a command 'ban'. if I reply to somebody's message by typing /ban bot should get its id and restrict him. my code now: @bot.messsage_handler(commands=['ban']) def ban(message): #here I should get the id…