The parameter to pass is chat_id but the attributes to use is chat_ids,
Kinda confusing, see https://t.me/pythontelegrambotgroup/350760
|
chat_ids(set(:obj:`int`), optional): Which chat ID(s) to allow through. |
vs
|
chat_id(:obj:`int` | List[:obj:`int`], optional): Which chat ID(s) to allow |
would be good to align those.