@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
47 lines (46 loc) • 1.47 kB
TypeScript
/**
* AskNews API
* AskNews API
*
* The version of the OpenAPI document: 0.21.1
* 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): value is TelegramSource;
export declare function TelegramSourceFromJSON(json: any): TelegramSource;
export declare function TelegramSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSource;
export declare function TelegramSourceToJSON(json: any): TelegramSource;
export declare function TelegramSourceToJSONTyped(value?: TelegramSource | null, ignoreDiscriminator?: boolean): any;