Traceback (most recent call last):
File "C:\Users\User\PycharmProjects\pythonProject3\main.py", line 38, in
asyncio.run(send_message_to_group_members())
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "C:\Users\User\PycharmProjects\pythonProject3\main.py", line 20, in send_message_to_group_members
group_members = await bot.get_chat_member(group_id)
File "C:\Users\User\PycharmProjects\pythonProject3\venv\lib\site-packages\telegram\_bot.py", line 381, in decorator
result = await func(self, *args, **kwargs) # skipcq: PYL-E1102
TypeError: Bot.get_chat_member() missing 1 required positional argument: 'user_id'
File "C:\Users\User\PycharmProjects\pythonProject3\main.py", line 38, in
asyncio.run(send_message_to_group_members())
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "C:\Users\User\PycharmProjects\pythonProject3\main.py", line 20, in send_message_to_group_members
group_members = await bot.get_chat_member(group_id)
File "C:\Users\User\PycharmProjects\pythonProject3\venv\lib\site-packages\telegram\_bot.py", line 381, in decorator
result = await func(self, *args, **kwargs) # skipcq: PYL-E1102
TypeError: Bot.get_chat_member() missing 1 required positional argument: 'user_id'