-
Notifications
You must be signed in to change notification settings - Fork 733
Closed
Description
Hi.
Thanks for new API update! Neat new features :)
While working to incorporate the changes into python-telegram-bot, I've noticed that the update seems to have introduced problems with editChatInviteLink: passing member_limit or name has unexpected effects on the existing settings for the invite link.
Example:
- create a new invite link, pass
chat_idandmember_limit - edit the link, pass the parameters
chat_id,invite_linkandname. Expected result: themember_limitset in step 1 still holds an the name is added. Actual result: themember_limitis deleted and thenameis applied - edit the link again, pass
chat_id,invite_linkandmember_limit. Expected result: the name set in step 2 still holds and themember_limitis added. Actual result: Neither name normember_limitare applied
Another example:
- create a new invite link, pass
chat_idandmember_limit - edit the link, pass
chat_id,invite_linkand a differentmember_limit. Expected result: the newmember_limitis applied. Actual result: Themember_limitis deleted
A third example:
- create a new invite link, pass
chat_idandmember_limit - edit the link, pass
chat_id,invite_linkand acreates_join_request=True. Expected result: the newmember_limitis removed andcreates_join_requestis applied. Actual result: Themember_limitis set to 1 andcreates_join_requestis not applied
I'm not sure what to make of this and would be happy for a response :)
harshil21 and PXNX
Metadata
Metadata
Assignees
Labels
No labels