can_add_web_page_previews=False)
if mute_stat:
mutetime = extract_time(msg, mute_time)
bot.restrict_chat_member(chat.id, user.id, chat_permission, until_date=mutetime)
else:
bot.restrict_chat_member(chat.id, user.id,chat_permissions)
Changing to Telethon:
What should I have to write?
Documentation for kick_participant
Обсуждают сегодня