HTTP 400 · Bad Request
INVITE_SLUG_EXPIRED
The specified chat folder link has expired.
HTTP 400
Invites
When & why it happens
The invite slug has aged out. Request a fresh one and retry.
Handling in gogram
Surfaced as *gogram.ErrResponseCode. Match on the message:
if err, ok := err.(*gogram.ErrResponseCode); ok {
if err.Message == "INVITE_SLUG_EXPIRED" {
// handle this error
}
}
Related errors
INVITE_FORBIDDEN_WITH_JOINASYou cannot invite users while anonymously joined as a channel.INVITE_HASH_EMPTYThe invite hash is empty.INVITE_HASH_EXPIREDThe invite link has expired.INVITE_HASH_INVALIDThe invite hash is invalid.INVITE_REQUEST_SENTYou have successfully requested to join this chat or channel.INVITE_REVOKED_MISSINGThe specified invite link was already revoked or is invalid.INVITE_SLUG_EMPTYThe specified invite slug is empty.