Raw.BusinessChatLink

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 : string

    Business chat deep link.

  • message : string

    Message to pre-fill in the message input field.

  • entities : Array of Raw.TypeMessageEntity or undefined

    Message entities for styled text

  • title : string or undefined

    Human-readable name of the link, to simplify management in the ui (only visible to the creator of the link).

  • views : number

    Number of times the link was resolved (clicked/scanned/etc…).