Available methods

getAvailableGifts()

Returns the list of gifts that can be sent by the bot to users and channel chats. Requires no parameters. Returns a Gifts object.

parameters

this method takes no parameters.

returns

Gifts

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 { Gifts } from "@yaebal/types";

await bot.api.call<Gifts>("getAvailableGifts");