Describe the bug
messages.exportChatInvite does not accept legacy_revoke_permanent, expire_date and usage_limit as parameter.
Tried all possible combinations. Also on wrong values there is no feedback or error message. It just returns the invitation link with endless usages and endless time
USAGE_LIMIT_INVALIDand EXPIRE_DATE_INVALID never gets thrown
I think the reason is that there are no flags in layer 121 (it is used in the library version 6.0.1) yet. Flags appeared in the following layers. I will try to update the layer within a few months.
Describe the bug messages.exportChatInvite does not accept legacy_revoke_permanent, expire_date and usage_limit as parameter. Tried all possible combinations. Also on wrong values there is no feedback or error message. It just returns the invitation link with endless usages and endless time
USAGE_LIMIT_INVALID
andEXPIRE_DATE_INVALID
never gets thrownCode example
Expected behavior It should return a link with an expire date and a certain usage limit
Screenshots this is what it returns. Also in the real telegram client the links are permanent and without usage limit
Context:
Additional context Until this method everything worked fine and all parameters were accepted right away
Edit:
Through #106 i came to the idea to check the builder and for me it seems that there are no other parameters / flags respected:
i tried to fix it by adding flags:
but i am missing something or doing something wrong, because I always get
INPUT_CONSTRUCTOR_INVALID_0X
can someone tell me what i am doing wrong?