Interface BotAccessSettings

Describes users that have access to a bot.

interface BotAccessSettings {
    @type: "botAccessSettings";
    added_user_ids: number[];
    is_restricted?: boolean;
}

Properties

@type: "botAccessSettings"
added_user_ids: number[]

Identifiers of the users who can use the bot additionally to the owner of the bot.

is_restricted?: boolean

True, if access to the bot is restricted to its owner and selected users.