Raw.BusinessChatLink
Contains info about a business chat deep link created by the current account.
businessChatLink#b4ae666f flags:# link:string message:string entities:flags.0?Vector<MessageEntity> title:flags.1?string views:int = BusinessChatLink;
export namespace Raw {
export class BusinessChatLink {
constructor(params: {
link: string;
message: string;
entities?: Array<Raw.TypeMessageEntity>;
title?: string;
views: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xb4ae666f
Property
link
: stringBusiness chat deep link.
message
: stringMessage to pre-fill in the message input field.
entities
: Array of Raw.TypeMessageEntity or undefinedMessage entities for styled text
title
: string or undefinedHuman-readable name of the link, to simplify management in the ui (only visible to the creator of the link).
views
: numberNumber of times the link was resolved (clicked/scanned/etc…).