chatlists.checkChatlistInvite
Obtain information about a chat folder deep link ».
func (c *Client) ChatlistsCheckChatlistInvite(ctx context.Context, slug string) (ChatlistsChatlistInviteClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.ChatlistsCheckChatlistInvite(ctx, slug)
if err != nil {
return err
}
_ = res // ChatlistsChatlistInviteClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Slug | string | yes | slug obtained from the chat folder deep link » |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | INVITE_SLUG_EMPTY | The specified invite slug is empty. |
| 400 | INVITE_SLUG_EXPIRED | The specified chat folder link has expired. |
References
- Official documentation
- Generated Go reference
- TL definition:
chatlists.checkChatlistInvite#41c10fff