def command_users_in(m): cid = m.chat.id users_in = Log.listUsersInside() bot.send_message(cid, users_in)