green-api / issues

9 stars 0 forks source link

Требуется исправить метод addGroupParticipant / Required to fix the addGroupParticipant method #522

Open nazarbekovbek16 opened 1 month ago

nazarbekovbek16 commented 1 month ago

Требуется Требуется сократить время ответа метода addGroupParticipant при передаче неправильных параметров

Уровень API


Required Requiredto to reduce the response time of the addGroupParticipant method when passing incorrect parameters

Level API

he-kishor commented 1 month ago

It's taking longer than usual time and also not adding the participient in the group

dephea commented 1 month ago

It's taking longer than usual time and also not adding the participient in the group

Hello! The issue happens with validation of request. If you pass incorrent parameters in the request, the server will not return an error immediately. Instead the response will be stuck and the wait time can exceed 1 minute.

To make sure it doesn't happen, please send requests according to the documentation of this method - https://green-api.com/en/docs/api/groups/AddGroupParticipant/ . Be very careful to pass the right data types into the request!

groupId - string, must be formatted according to group chatId format - https://green-api.com/en/docs/api/chat-id/#gus participantChatId - string, must be formatted according to chatId format - https://green-api.com/en/docs/api/chat-id/#corr