mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 17:06:57 +01:00
23 lines
734 B
Markdown
23 lines
734 B
Markdown
---
|
|
title: checkChatInviteLink
|
|
description: Checks chat invite link for validness and returns information about the corresponding chat
|
|
---
|
|
## Method: checkChatInviteLink
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Checks chat invite link for validness and returns information about the corresponding chat
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|invite\_link|[CLICK ME string](../types/string.md) | Yes|Invite link to check. Should begin with "https: t.me/joinchat/", "https: telegram.me/joinchat/" or "https: telegram.dog/joinchat/"|
|
|
|
|
|
|
### Return type: [ChatInviteLinkInfo](../types/ChatInviteLinkInfo.md)
|
|
|