BotAccessSettings
This object describes the access settings of a bot.
fields
| field | type | required | description |
|---|---|---|---|
is_access_restricted | boolean | required | True, if only selected users can access the bot. The bot's owner can always access it. |
added_users | User[] | optional | Optional. The list of other users who have access to the bot if the access is restricted |
import
import type { BotAccessSettings } from "@yaebal/types";used by
methods
official Bot API docs: https://core.telegram.org/bots/api/#botaccesssettings