account.resolveBusinessChatLink #

Resolve a business chat deep link ».

Layer 223

account.resolvedBusinessChatLinks#9a23af21 flags:# peer:Peer message:string entities:flags.0?Vector<MessageEntity> chats:Vector<Chat> users:Vector<User> = account.ResolvedBusinessChatLinks;
---functions---
account.resolveBusinessChatLink#5492e5ee slug:string = account.ResolvedBusinessChatLinks;

Parameters #

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

Result #

account.ResolvedBusinessChatLinks

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHATLINK_SLUG_EMPTYThe specified slug is empty.
400CHATLINK_SLUG_EXPIREDThe specified business chat link has expired.

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.