diff --git a/telebot/asyncio_filters.py b/telebot/asyncio_filters.py
index <HASH>..<HASH> 100644
--- a/telebot/asyncio_filters.py
+++ b/telebot/asyncio_filters.py
@@ -278,7 +278,10 @@ class StateFilter(AdvancedCustomFilter):
         if text == '*': return True
 
         if isinstance(text, list):
-            new_text = [i.name for i in text]
+            new_text = []
+            for i in text:
+                if isclass(i): i = i.name
+                new_text.append(i)
             text = new_text
         elif isinstance(text, object):
             text = text.name
Update asyncio_filters.py