2.2.2 • Published 7 years ago

@telegram-actions/system v2.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

Telegram Actions

CircleCI codecov Donate

Control your Telegram bot with comands.

Install

npm install @telegram-actions/core @telegram-actions/system --save

Example

import { IAction, TelegramActions } from '@telegram-actions/core';
import { transmissionActions } from '@telegram-actions/transmission';
import { systemActions } from '@telegram-actions/system';

const token = process.env.TOKEN || '';

const telegramActions = new TelegramActions(token, true);

telegramActions.addActions(transmissionActions);
telegramActions.addActions(systemActions);
telegramActions.start();

Note: Remember define bot token.more info

More examples

System Actions

Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

License

The MIT License (MIT)

Copyright © 2017 Silvelo