n8n/packages/nodes-base/credentials/TelegramApi.credentials.ts

19 lines
323 B
TypeScript
Raw Normal View History

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class TelegramApi implements ICredentialType {
name = 'telegramApi';
displayName = 'Telegram API';
properties = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}