'pyrogram - add multiple channel got error

I want to add multiple channel for subscribed

this my code:

 def subscribed(filter, client, update):
    user_id = update.from_user.id
    try:
        FORCE_SUB_CHANNEL=[]
        for x in os.environ.get("FORCE_SUB_CHANNEL", "-1001707495428 -1001724558534 -100..... -100....").split():
            FORCE_SUB_CHANNEL.append(int(x))
            member = await client.get_chat_member(chat_id = FORCE_SUB_CHANNEL, user_id = user_id)
    except Exception as e:
            print(e)

and i got error like this:

Error binding parameter 0 - probably unsupported type.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source