Layer 224
constructor
inputBusinessChatLink#11679fa7 flags:# message:string entities:flags.0?Vector<MessageEntity> title:flags.1?string = InputBusinessChatLink;

Parameters

Name Type Description
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).

Gogram Example

// Creating InputBusinessChatLinkObj constructor
obj := &tg.InputBusinessChatLinkObj{
    Message: "Hello, World!",

    // Optional fields:
    // Entities: []tg.MessageEntity{&tg.MessageEntityBold{Offset: 0, Length: 11}},
    // Title: "Hello, World!",
}