Contains info about a business chat deep link » created by the current account.
Constructor schema is available as of layer 177. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
link | string | Business chat deep link. |
message | string | Message to pre-fill in the message input field. |
entities | flags.0?Vector<MessageEntity> | Message entities for styled text |
title | flags.1?string | Human-readable name of the link, to simplify management in the UI (only visible to the creator of the link). |
views | int | Number of times the link was resolved (clicked/scanned/etc...). |
Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.
How to create styled text with message entities
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.