Layer 220
InputBusinessChatLink
Contains info about a business chat deep link to be created by the current account.
constructor
inputBusinessChatLink#11679fa7 flags:# message:string entities:flags.0?Vector<MessageEntity> title:flags.1?string = InputBusinessChatLink;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Message | string | Message to pre-fill in the message input field. |
| Entities | 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). |
Returns
InputBusinessChatLinkGogram Example
// Creating InputBusinessChatLink constructor obj := &tg.InputBusinessChatLink{ Message: "...", // Optional fields: // Entities: []tg.MessageEntity{&tg.MessageEntityBold{Offset: 0, Length: 4}}, // Title: "...", }