All Projects → DreamTeamMobile → Botbuilder Viber

DreamTeamMobile / Botbuilder Viber

Plug-in Viber connector for Microsoft BotBuilder framework

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Botbuilder Viber

Errbot
Errbot is a chatbot, a daemon that connects to your favorite chat service and bring your tools and some fun into the conversation.
Stars: ✭ 2,605 (+21608.33%)
Mutual labels:  chatbot, chat
Qqbot
QQBot: A conversation robot base on Tencent's SmartQQ
Stars: ✭ 3,643 (+30258.33%)
Mutual labels:  chatbot, chat
technopsyna
телеграм бот для техноконфы
Stars: ✭ 16 (+33.33%)
Mutual labels:  chat, chatbot
Qiscus Sdk Android
Qiscus provide everything you need to power up your app with chats. And it's now made simple.
Stars: ✭ 175 (+1358.33%)
Mutual labels:  chatbot, chat
Chat
基于自然语言理解与机器学习的聊天机器人,支持多用户并发及自定义多轮对话
Stars: ✭ 516 (+4200%)
Mutual labels:  chatbot, chat
Venom
Venom is the most complete javascript library for Whatsapp, 100% Open Source.
Stars: ✭ 3,457 (+28708.33%)
Mutual labels:  chatbot, chat
Wechatyunchart
微信多开多账号机器人 云客服系统 微商营销 系统web协议一键登录 非公众号微信机器人微信群管家 微信自动回复 微信定时发送消息 微信多账号登录 微信网页版本协议多开 一键登录 红包数量提醒 微信用户识别男女签名备注地理位置等,群发 自动发消息 定时发消息 群消息监控 机器人回复 ,定时回复,超时回复 聊天记录保存,聊天记录查看
Stars: ✭ 357 (+2875%)
Mutual labels:  chatbot, chat
Applozic Ios Sdk
iOS Real Time Chat & Messaging SDK
Stars: ✭ 104 (+766.67%)
Mutual labels:  chatbot, chat
Aws Lex Web Ui
Sample Amazon Lex chat bot web interface
Stars: ✭ 500 (+4066.67%)
Mutual labels:  chatbot, chat
Slacker
Slack Bot Framework
Stars: ✭ 495 (+4025%)
Mutual labels:  chatbot, chat
Mojo Webqq
【重要通知:WebQQ将在2019年1月1日停止服务,此项目目前已停止维护,感谢大家四年来的一路陪伴】使用Perl语言(不会没关系)编写的smartqq/webqq客户端框架(非GUI),可通过插件提供基于HTTP协议的api接口供其他语言或系统调用
Stars: ✭ 1,755 (+14525%)
Mutual labels:  chatbot, chat
Chatui
The UI design language and React library for Conversational UI
Stars: ✭ 684 (+5600%)
Mutual labels:  chatbot, chat
Convform
A jQuery plugin that transforms a form into an interactive chat.
Stars: ✭ 141 (+1075%)
Mutual labels:  chatbot, chat
React Native Chatbot
💬 Easy way to create conversation chats
Stars: ✭ 212 (+1666.67%)
Mutual labels:  chatbot, chat
Lookerbot
Lookerbot lets you access all your Looker data from Slack! Super fun!
Stars: ✭ 138 (+1050%)
Mutual labels:  chatbot, chat
Dialogflow Web V2
Dialogflow Web Integration. Rich Components, Actions on Google and more
Stars: ✭ 307 (+2458.33%)
Mutual labels:  chatbot, chat
Seq2seq chatbot
a chatbot which is implemented via seq2seq model.
Stars: ✭ 90 (+650%)
Mutual labels:  chatbot, chat
Addchat Laravel
AddChat Laravel is a Laravel chat package. Live chat widget for Laravel that also includes multi-user chat, group permissions, customer support chat & more.
Stars: ✭ 99 (+725%)
Mutual labels:  chatbot, chat
Messenger
Open source, native iOS Messenger, with realtime chat conversations (full offline support).
Stars: ✭ 4,264 (+35433.33%)
Mutual labels:  chatbot, chat
Yoda
Wise and powerful personal assistant, available in your nearest terminal
Stars: ✭ 674 (+5516.67%)
Mutual labels:  chatbot, chat

botbuilder-viber

NPM version NPM downloads

A node module for Microsoft BotBuilder Framework.

This module provides plug-in Viber connector for Microsoft BotBuilder framework.

botbuilder-viber currently supports the following tracking features:

  • sending text, image, buttons, stickers messages
  • receiving text messages
  • receiving images
  • receiving other messages as text message [json] with message.attachments[0] filled with raw Viber message:
{
    payload: rawMessage, /* json from viber directly */
    contentType: 'object',
}

Getting started

botbuilder-viber is installed just like any other node module:

$ npm i botbuilder-viber

In your bot's app.js:

var viber = require('botbuilder-viber')
...
var viberOptions = {
  Token: process.env.VIBER_TOKEN,
  Name: 'ViberBotName',  
  AvatarUrl: 'http://url.to/pngfile'
}
var viberChannel = new viber.ViberEnabledConnector(viberOptions)
//after initialising your bot and existing connectors 
bot.connector(viber.ViberChannelId, viberChannel)
app.use('/viber/webhook', viberChannel.listen())

When the bot starts, you need to register your webhook with Viber.

Url of the webhook will be the url of your bot appended /viber/webhook.

Example: https://botappservice.azurewebsites.net/viber/webhook

botbuilder-viber requires express instead of restify like most BotBuilder samples do.

Sending stickers

var viberPayload = {}
viberPayload[viber.ViberChannelId] = {
    "type": "sticker",
    "sticker_id": 114406
}
var stickerMessage = new builder.Message(session).sourceEvent(viberPayload)
session.send(stickerMessage)

How to find out Viber's sticker ids?

Viber API documentation

Viber REST API

Other information

  • This BotBuilder is working on top of viber-node module: https://github.com/Viber/viber-bot-node
  • It can probably send whole set of different messages Viber supports (Text, Url, Contact, Picture, Video, Location, Sticker, File)
  • Avatar is recommended to be 720x720, and no more than 100kb (otherwise will not show on mobile clients). Use tinypng to make it smaller.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].