Raw.InvokeWithBusinessConnection

Raw.InvokeWithBusinessConnection

Invoke a method using a telegram business bot connection, see here for more info, including a list of the methods that can be wrapped in this constructor.

invokeWithBusinessConnection#dd289f8e {X:Type} connection_id:string query:!X = X;
export namespace Raw {
  export class InvokeWithBusinessConnection {
    constructor(params: { connectionId: string; query: TLObject }) {}
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xdd289f8e

Property

  • connectionId : string

    Business connection id.

  • query : TLObject

    The actual query.

Results

TLObject

Bots can use