Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Telegram | 23,088 | a day ago | 2 | April 17, 2021 | 512 | gpl-2.0 | Java | |||
Telegram for Android source | ||||||||||
Open Im Server | 12,281 | 16 hours ago | 20 | November 29, 2023 | 160 | apache-2.0 | Go | |||
IM Chat | ||||||||||
Chat | 10,931 | 1 | 18 days ago | 160 | August 14, 2023 | 34 | gpl-3.0 | Go | ||
Instant messaging platform. Backend in Go. Clients: Swift iOS, Java Android, JS webapp, scriptable command line; chatbots | ||||||||||
Messenger | 4,632 | a month ago | mit | Swift | ||||||
Open source alternative communication platform. | ||||||||||
Franz | 4,422 | 2 | 4 | a month ago | 16 | June 07, 2019 | 388 | apache-2.0 | JavaScript | |
Franz is a free messaging app for services like WhatsApp, Slack, Messenger and many more. | ||||||||||
Bottender | 4,116 | 38 | 23 | 9 months ago | 215 | November 10, 2021 | 72 | mit | TypeScript | |
⚡️ A framework for building conversational user interfaces. | ||||||||||
Notify | 2,513 | 17 | a day ago | 64 | June 21, 2023 | 29 | mit | Go | ||
A dead simple Go library for sending notifications to various messaging services. | ||||||||||
Messaging Apis | 1,875 | 49 | 25 | 10 months ago | 37 | January 11, 2021 | 11 | mit | TypeScript | |
Messaging APIs for multi-platform | ||||||||||
Relatedchat | 1,577 | a month ago | 1 | Swift | ||||||
Open source alternative communication platform | ||||||||||
Teamgram Server | 1,500 | 1 | 3 days ago | 24 | July 28, 2023 | apache-2.0 | Go | |||
Unofficial open source mtproto server written in golang with compatible telegram client. |
Messaging APIs is a mono repo which collects APIs needed for bot development.
It helps you build your bots using similar API for multiple platforms, e.g. Messenger, LINE. Learn once and make writing cross-platform bots easier.
If you are looking for a framework to build your bots, Bottender may suit for your needs. It is built on top of Messaging APIs and provides some powerful features for bot building.
Package | Version | Platform |
---|---|---|
messaging-api-messenger |
Messenger | |
messaging-api-line |
LINE | |
messaging-api-slack |
Slack | |
messaging-api-telegram |
Telegram | |
messaging-api-viber |
Viber | |
messaging-api-wechat |
Install messaging-api-messenger
package from the registry:
npm i --save messaging-api-messenger
or
yarn add messaging-api-messenger
Then, create a MessengerClient
to call Messenger APIs:
const { MessengerClient } = require('messaging-api-messenger');
// get accessToken from facebook developers website
const client = new MessengerClient({
accessToken: 'ACCESS_TOKEN',
});
client.sendText(userId, 'Hello World').then(() => {
console.log('sent');
});
Check out full API documentation for more detail information.
Install messaging-api-line
package from the registry:
npm i --save messaging-api-line
or
yarn add messaging-api-line
Then, create a LineClient
to call LINE APIs:
const { LineClient } = require('messaging-api-line');
// get accessToken and channelSecret from LINE developers website
const client = new LineClient({
accessToken: 'ACCESS_TOKEN',
channelSecret: 'CHANNEL_SECRET',
});
client.pushText(userId, 'Hello World').then(() => {
console.log('pushed');
});
Check out full API documentation for more detail information.
Install messaging-api-slack
package from the registry:
npm i --save messaging-api-slack
or
yarn add messaging-api-slack
Then, create a SlackOAuthClient
or SlackWebhookClient
to call Slack APIs:
const { SlackOAuthClient } = require('messaging-api-slack');
// get access token by setup OAuth & Permissions function to your app.
// https://api.slack.com/docs/oauth
const client = new SlackOAuthClient({
accessToken: 'xoxb-000000000000-xxxxxxxxxxxxxxxxxxxxxxxx',
});
client.postMessage('#random', 'Hello World').then(() => {
console.log('sent');
});
const { SlackWebhookClient } = require('messaging-api-slack');
// get webhook URL by adding a Incoming Webhook integration to your team.
// https://my.slack.com/services/new/incoming-webhook/
const client = new SlackWebhookClient({
url: 'https://hooks.slack.com/services/XXXXXXXX/YYYYYYYY/zzzzzZZZZZ',
});
client.sendText('Hello World').then(() => {
console.log('sent');
});
Check out full API documentation for more detail information.
Install messaging-api-telegram
package from the registry:
npm i --save messaging-api-telegram
or
yarn add messaging-api-telegram
Then, create a TelegramClient
to call Telegram APIs:
const { TelegramClient } = require('messaging-api-telegram');
// get accessToken from telegram [@BotFather](https://telegram.me/BotFather)
const client = new TelegramClient({
accessToken: '12345678:AaBbCcDdwhatever',
});
client.sendMessage(chatId, 'Hello World').then(() => {
console.log('sent');
});
Check out full API documentation for more detail information.
Install messaging-api-viber
package from the registry:
npm i --save messaging-api-viber
or
yarn add messaging-api-viber
Then, create a ViberClient
to call Viber APIs:
const { ViberClient } = require('messaging-api-viber');
// get authToken from the "edit info" screen of your Public Account.
const client = new ViberClient({
accessToken: 'AUTH_TOKEN',
sender: {
name: 'Sender',
},
});
client.sendText(userId, 'Hello World').then(() => {
console.log('sent');
});
Check out full API documentation for more detail information.
Install messaging-api-wechat
package from the registry:
npm i --save messaging-api-wechat
or
yarn add messaging-api-wechat
Then, create a WechatClient
to call Wechat APIs:
const { WechatClient } = require('messaging-api-wechat');
// get appId, appSecret from--page
const client = new WechatClient({
appId: 'APP_ID',
appSecret: 'APP_SECRET',
});
client.sendText(userId, 'Hello World').then(() => {
console.log('sent');
});
Check out full API documentation for more detail information.
Every release, along with the migration instructions, is documented on the CHANGELOG.md file.
MIT Yoctol