setBusinessAccountBio()
Changes the bio of a managed business account. Requires the can_change_bio business bot right. Returns True on success.
parameters
| parameter | type | required | description |
|---|---|---|---|
business_connection_id | string | required | Unique identifier of the business connection |
bio | string | optional | The 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.
import type { SetBusinessAccountBioParams } from "@yaebal/types";
await bot.api.call<boolean>("setBusinessAccountBio", {
business_connection_id: "...",
} satisfies SetBusinessAccountBioParams);official Bot API docs: https://core.telegram.org/bots/api/#setbusinessaccountbio