check_chat_folder_invite_link()

Checks the validity of an invite link for a chat folder and returns information about the corresponding chat folder.

Usable by Users Bots

invite_link (``str``) – Invite link to be checked.

:obj:`~pyrogram.types.ChatFolderInviteLinkInfo` (Information about the chat folder corresponding to the invite link.)

  • BadRequest – In case the folder invite link not exists.:

  • ValueError – In case the folder invite link is invalid.: