Layer 228
constructor
account.resolvedBusinessChatLinks#9a23af21 flags:# peer:Peer message:string entities:flags.0?Vector<MessageEntity> chats:Vector<Chat> users:Vector<User> = account.ResolvedBusinessChatLinks;

Parameters

Name Type Description
Peer Peer Destination peer
Message string Message to pre-fill in the message input field.
Entities flags .0? Vector<MessageEntity> Message entities for styled text
Chats Vector<Chat> Mentioned chats
Users Vector<User> Mentioned users

Gogram Example

// Creating AccountResolvedBusinessChatLinksObj constructor
obj := &tg.AccountResolvedBusinessChatLinksObj{
    Peer: &tg.PeerChannel{},
    Message: "Hello!",
    Entities: nil,
    Chats: []tg.Chat{&tg.ChatObj{}},
    Users: []tg.User{&tg.UserObj{}},
}