Layer 227
BusinessChatLinkObj
Contains info about a business chat deep link created by the current account.
constructor
businessChatLink#b4ae666f flags:# link:string message:string entities:flags.0?Vector<MessageEntity> title:flags.1?string views:int = BusinessChatLink;
Parameters
| Name | Type | Description |
|---|---|---|
| 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.). |
Returns
BusinessChatLinkGogram Example
// Creating BusinessChatLinkObj constructor obj := &tg.BusinessChatLinkObj{ Link: "Hello, World!", Message: "Hello, World!", Entities: nil, Title: "Hello, World!", Views: 42, }