Skip to content

them7d/telegramBotAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot API

A simple wrapper for the Telegram Bot API. Just provide your bot token and start using it.

Installation

npm install telegram-bot-api

usage

import { telegramBotAPI } from "telegram-bot-api";

const token = "YOUR_BOT_TOKEN";
const bot = new telegramBotAPI(token);

// Send a message
bot.sendMessage("chat_id", "Your message here");

// Send a keyboard
bot.sendKeyboard("chat_id", "Choose an option:", ["Option 1", "Option 2"]);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published