mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
✨ Add missing Telegram-Credentials
This commit is contained in:
parent
94d0655740
commit
7ce760f9da
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: '',
|
||||||
|
},
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue