Layer 220
method Users
account.createBusinessChatLink#8851e68e link:InputBusinessChatLink = BusinessChatLink;

Parameters

Name Type Description
Link InputBusinessChatLink Info about the link to create.

Possible Errors

Code Type Description
400 CHATLINKS_TOO_MUCH Too many business chat links were created, please delete some older links.
403 PREMIUM_ACCOUNT_REQUIRED A premium account is required to execute this action.

Gogram Example

// AccountCreateBusinessChatLink - positional arguments
result, err := client.AccountCreateBusinessChatLink(&tg.InputBusinessChatLink{})
if err != nil {
    // handle error
}
// result is *tg.BusinessChatLink