TGX-CORE
About
tgx-core is a a modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.
- Object-oriented
- Modular
- Flexible
- 99% Coverage of the Telegram API
Installation
sh
npm install tgx-core
Getting Started
With tgx-core you can code at ease, as easy as this!
ts
import { Client, PartialTypes } from 'tgx-core'
const client = new Client({
partials: [PartialTypes.Chat, PartialTypes.Member]
})
client.once('ready', () => {
console.log('Your imagination is the limit!')
})
client.on('text', (message) => {
message.replyText('Hello there!')
})
client.intialize(<bot-token>)
Support Platforms
You may join us on the offical groups on the Telegram platform.
For announcements, you may join: TGX-CORE Developers
For development supports, you may join: TGX-CORE DEVs