alik0211 / mtproto-core

Telegram API JS (MTProto) client library for Node.js and browser
https://mtproto-core.js.org
GNU General Public License v3.0
631 stars 117 forks source link

Can't work with invite links, always getting INVITE_HASH_EXPIRED #289

Open derzhavets opened 1 year ago

derzhavets commented 1 year ago

Hi,

I am trying to do something with an invite link to a private groups ("messages.checkChatInvite", "messages.getExportedChatInvite"). But whatever group links I tried (tried about 10 different groups) I always getting error INVITE_HASH_EXPIRED.

Some of the groups are created by me. I am creating invite link, trying to resolve the group, and getting INVITE_HASH_EXPIRED right away.

Can it be that issue is something else?

ariunaa00 commented 1 year ago

For me INVITE_HASH_EXPIRED error is comming when i lowered all letters of hash. Example +1yqseavbzdk5yza9 will get error. +1YQSeAvBzdk5YzA9 will works just fine.