Вот я тк и думал, а получаю ошибку
def create_tables():
connection = sqlite3.connect('db')
cursor = connection.cursor()
cursor.execute(
"""CREATE TABLE IF NOT EXISTS messages_table(
id INTEGER PRIMARY KEY,
update.message TEXT NOT NULL,
UNIQUE(update.message))""")
connection.commit()
connection.close()
sqlite3.InterfaceError: Error binding parameter 0 - probably unsupported type.