/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.0-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import type { PolicyEngineMode } from './PolicyEngineMode';
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
/**
 * Source Serializer
 * @export
 * @interface TelegramSourceRequest
 */
export interface TelegramSourceRequest {
    /**
     * Source's display Name.
     * @type {string}
     * @memberof TelegramSourceRequest
     */
    name: string;
    /**
     * Internal source name, used in URLs.
     * @type {string}
     * @memberof TelegramSourceRequest
     */
    slug: string;
    /**
     *
     * @type {boolean}
     * @memberof TelegramSourceRequest
     */
    enabled?: boolean;
    /**
     * Flow to use when authenticating existing users.
     * @type {string}
     * @memberof TelegramSourceRequest
     */
    authenticationFlow?: string | null;
    /**
     * Flow to use when enrolling new users.
     * @type {string}
     * @memberof TelegramSourceRequest
     */
    enrollmentFlow?: string | null;
    /**
     *
     * @type {Array<string>}
     * @memberof TelegramSourceRequest
     */
    userPropertyMappings?: Array<string>;
    /**
     *
     * @type {Array<string>}
     * @memberof TelegramSourceRequest
     */
    groupPropertyMappings?: Array<string>;
    /**
     *
     * @type {PolicyEngineMode}
     * @memberof TelegramSourceRequest
     */
    policyEngineMode?: PolicyEngineMode;
    /**
     * How the source determines if an existing user should be authenticated or a new user enrolled.
     * @type {UserMatchingModeEnum}
     * @memberof TelegramSourceRequest
     */
    userMatchingMode?: UserMatchingModeEnum;
    /**
     *
     * @type {string}
     * @memberof TelegramSourceRequest
     */
    userPathTemplate?: string;
    /**
     * Telegram bot username
     * @type {string}
     * @memberof TelegramSourceRequest
     */
    botUsername: string;
    /**
     * Telegram bot token
     * @type {string}
     * @memberof TelegramSourceRequest
     */
    botToken: string;
    /**
     * Request access to send messages from your bot.
     * @type {boolean}
     * @memberof TelegramSourceRequest
     */
    requestMessageAccess?: boolean;
    /**
     * Flow used before authentication.
     * @type {string}
     * @memberof TelegramSourceRequest
     */
    preAuthenticationFlow: string;
}
/**
 * Check if a given object implements the TelegramSourceRequest interface.
 */
export declare function instanceOfTelegramSourceRequest(value: object): value is TelegramSourceRequest;
export declare function TelegramSourceRequestFromJSON(json: any): TelegramSourceRequest;
export declare function TelegramSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSourceRequest;
export declare function TelegramSourceRequestToJSON(json: any): TelegramSourceRequest;
export declare function TelegramSourceRequestToJSONTyped(value?: TelegramSourceRequest | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=TelegramSourceRequest.d.ts.map