Skip to content

RealOFF/client-bot-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client bot service

Description

This is a user inteface service for getting jobs.

Architecture

The working of our app can be described by the following scheme:
____data____data_________________call
Bot <= DB <= Data fetch service <= Endpoints

Framework

Curently our app uses the Telegaf framework. The main feature used:

  1. Commands, hears, actions.
  2. Middleware (session middleware).
  3. Markup (examples).

Main

Handlers attached to commands, hears and actions. We have a handler creators that get three params (views, models, options).

Views

Views messages are configurable and can be setting with various localizations(It can be configured in json vocabulary file).

Models

This is a wrapper over a monguse scheme.

Contollers

This is a handler of telegram bot commands, actions, hears, ... This handlers are callbacks which can be configured by higher order function.

About

Telegram bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published