UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
46 lines (45 loc) 1.34 kB
/** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.18.6 * Contact: contact@emergentmethods.ai * * 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 { TelegramSourceParams } from './TelegramSourceParams'; /** * * @export * @interface TelegramSource */ export interface TelegramSource { /** * * @type {string} * @memberof TelegramSource */ identifier: TelegramSourceIdentifierEnum; /** * * @type {TelegramSourceParams} * @memberof TelegramSource */ params: TelegramSourceParams; } /** * @export */ export declare const TelegramSourceIdentifierEnum: { readonly Telegram: "telegram"; }; export type TelegramSourceIdentifierEnum = typeof TelegramSourceIdentifierEnum[keyof typeof TelegramSourceIdentifierEnum]; /** * Check if a given object implements the TelegramSource interface. */ export declare function instanceOfTelegramSource(value: object): boolean; export declare function TelegramSourceFromJSON(json: any): TelegramSource; export declare function TelegramSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSource; export declare function TelegramSourceToJSON(value?: TelegramSource | null): any;