Layer 220
AccountEditBusinessChatLink
Edit a created business chat deep link.
method
Users
account.editBusinessChatLink#8c3410af slug:string link:InputBusinessChatLink = BusinessChatLink;
Parameters
| Name | Type | Description |
|---|---|---|
| Slug | string | Slug of the link, obtained as specified here. |
| Link | InputBusinessChatLink | New link information. |
Returns
BusinessChatLinkPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CHATLINK_SLUG_EMPTY | The specified slug is empty. |
| 403 | PREMIUM_ACCOUNT_REQUIRED | A premium account is required to execute this action. |
Gogram Example
// AccountEditBusinessChatLink - positional arguments result, err := client.AccountEditBusinessChatLink("...", &tg.InputBusinessChatLink{}) if err != nil { // handle error } // result is *tg.BusinessChatLink