0.1.0 • Published 8 months ago
tgx-core v0.1.0
TGX-CORE
About
tgx-core is 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
npm install tgx-core
Getting Started
With tgx-core you can code at ease, as easy as this!
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>)
Links
Development Support
For development support you may join our official Telegram support server @TGX-CORE DEVs.
0.1.0
8 months ago
0.0.2
8 months ago
0.0.1
8 months ago
0.0.1-alpha.0
9 months ago
0.0.0-beta.0.0--pre-release
10 months ago