Skip to content

GramIO API Reference / gramio/dist / SetManagedBotAccessSettingsParams

Interface: SetManagedBotAccessSettingsParams

Defined in: @gramio/types/out/params.d.ts:2786

Params object for setManagedBotAccessSettings method

Properties

PropertyTypeDescriptionDefined in
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.@gramio/types/out/params.d.ts:2798
is_access_restrictedbooleanPass True if only selected users can access the bot. The bot's owner can always access it.@gramio/types/out/params.d.ts:2794
user_idnumberUser identifier of the managed bot whose access settings will be changed@gramio/types/out/params.d.ts:2790