Available methods

setBusinessAccountBio()

Changes the bio of a managed business account. Requires the can_change_bio business bot right. Returns True on success.

parameters

parametertyperequireddescription
business_connection_idstringrequiredUnique identifier of the business connection
biostringoptionalThe new value of the bio for the business account; 0-140 characters

returns

boolean

usage in yaebal

not (yet) hard-typed on Api — call it through the generic .call<T>() escape hatch documented in @yaebal/types.

bot.ts
import type { SetBusinessAccountBioParams } from "@yaebal/types";

await bot.api.call<boolean>("setBusinessAccountBio", {
  business_connection_id: "...",
} satisfies SetBusinessAccountBioParams);