getMyShortDescription()
Use this method to get the current bot short description for the given user language. Returns BotShortDescription on success.
parameters
| parameter | type | required | description |
|---|---|---|---|
language_code | string | optional | A two-letter ISO 639-1 language code or an empty string |
returns
usage in yaebal
not (yet) hard-typed on Api — call it through the generic .call<T>() escape hatch documented in @yaebal/types.
import type { BotShortDescription, GetMyShortDescriptionParams } from "@yaebal/types";
await bot.api.call<BotShortDescription>("getMyShortDescription", {} satisfies GetMyShortDescriptionParams);official Bot API docs: https://core.telegram.org/bots/api/#getmyshortdescription