Available types

BotAccessSettings

This object describes the access settings of a bot.

fields

fieldtyperequireddescription
is_access_restrictedbooleanrequiredTrue, if only selected users can access the bot. The bot's owner can always access it.
added_usersUser[]optionalOptional. The list of other users who have access to the bot if the access is restricted

import

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

used by

methods