account.editBusinessChatLink #

Edit a created business chat deep link ».

Layer 223

businessChatLink#b4ae666f flags:# link:string message:string entities:flags.0?Vector<MessageEntity> title:flags.1?string views:int = BusinessChatLink;
---functions---
account.editBusinessChatLink#8c3410af slug:string link:InputBusinessChatLink = BusinessChatLink;

Parameters #

NameTypeDescription
slugstringSlug of the link, obtained as specified here ».
linkInputBusinessChatLinkNew link information.

Result #

BusinessChatLink

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHATLINK_SLUG_EMPTYThe specified slug is empty.
403PREMIUM_ACCOUNT_REQUIREDA premium account is required to execute this action.

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

Telegram Business #

Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start pages, chatbot support, and more.