mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
✨ Add missing Telegram-Credentials
This commit is contained in:
18
packages/nodes-base/credentials/TelegramApi.credentials.ts
Normal file
18
packages/nodes-base/credentials/TelegramApi.credentials.ts
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
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: '',
|
||||||
|
},
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user