ultra-telegram-framework
    Preparing search index...

    Interface SetManagedBotAccessSettingsParams

    interface SetManagedBotAccessSettingsParams {
        added_user_ids?: number[];
        is_access_restricted: boolean;
        user_id: number;
    }
    Index

    Properties

    added_user_ids?: number[]

    A JSON-serialized list of up to 10 identifiers of users who will have access to the bot in addition to its owner. Ignored if is_access_restricted is false.

    is_access_restricted: boolean

    Pass True, if only selected users can access the bot. The bot's owner can always access it.

    user_id: number

    User identifier of the managed bot whose access settings will be changed