Skip to main content

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

NameTypeRequiredDescription
Slugstringyesslug obtained from the chat folder deep link »

Returns

ChatlistsChatlistInviteClass

Possible errors

CodeTypeDescription
400INVITE_SLUG_EMPTYThe specified invite slug is empty.
400INVITE_SLUG_EXPIREDThe specified chat folder link has expired.

References