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
usage in yaebal
not (yet) hard-typed on Api — call it through the generic .call<T>() escape hatch documented in @yaebal/types.
import type { Gifts } from "@yaebal/types";
await bot.api.call<Gifts>("getAvailableGifts");official Bot API docs: https://core.telegram.org/bots/api/#getavailablegifts