import { type UpdateBusinessConnection } from "https://deno.land/x/mtkruto@0.6.2/types/6_update.ts";
A business connection was added, modified, or removed.
client.on("businessConnection", (ctx) => {
console.log("Business connection with", ctx.from.id, ctx.businessConnection.isEnabled ? "created" : "lost");
console.log(ctx.businessConnection);
});
Properties
businessConnection: BusinessConnection