Code Monkey home page Code Monkey logo

at-netcore-telegrambot's Introduction

English | Persian

AT-NetCore-TelegramBot

A Telegram Bot is a programme that behaves like a normal chat partner with additional functions. It performs predefined tasks independently and without the user’s involvement. The term bot is derived from the term for robot.

What does the messenger send?

A Telegram bot can basically do everything a human chat partner does. Automatically or on request, it can send you the following information:
  • Text messages
  • Images
  • Videos
  • Files of any other kind

What makes it special?

An important function of a Telegram bot is the possibility to execute commands in a Telegram chat, which then directly trigger actions or request information. For example, it is possible to send the bot the command “/help” or “/help”, which then outputs the commands possible for this bot in the chat as text feedback. This could be the following command list:
  • /start
  • /help
  • /profile
  • /aboutus
  • /setting

Where does the Messenger live?

Telegram stores all data, i.e. all chats and also the bots, encrypted in the cloud. An external backup of the Telegram data is therefore not absolutely necessary and the entire personal settings are available to the logged-in users across platforms at any time and everywhere. However, the sensitive data and commands that the bot then accesses externally can be available outside the cloud, e.g. on local company-owned servers in their own databases.

Who can use the functionality?

Normal Telegram bots are not private. Anyone can find and use them. However, Telegram bots can also only be made accessible to certain users if a separate communication channel with the bot is set up. This channel is a “private” group with the bot, to which only you, users approved by you and the actual bot belong. In this way, the Telegram Bot can only be used by the user group controlled by you.

Can it become a personal assistant?

Many of us admire the Internet of Things (IoT) and this is where a Telegram Bot comes in. It can, in environments defined by you, comfortably inform and react. Telegram can not only enable communication between people, but with a Telegram Bot, it can also enable communication between people and programmable machines. We can thus forward messages to multiple devices with one click or receive them from you.

Where is the bot running?

If one considers the Telegram Bot in the context of the data source, the actual data usually remains on the local servers of the data source. The bot accesses the required data sets there and then prepares them for message output as requested on the end device. As listed in 'Where does the Messenger live?', only the actual programme structure is permanently located in the cloud on the Telegram servers.

How high is the application security?

The actual Telegram bot application with the relevant data is stored on its own computers and databases. Here, the application security depends on the administrator of the local PC environment on site. The Telegram Bot only delivers the message outputs defined in the application to the respective end devices. Only these message outputs are then located in the Telegram Cloud.

How is the Telegram data encrypted?

All messages and thus also the communication with a bot are secured via client-server/server-client encryption. In the Telegram Cloud, this data is also divided among a number of servers and stored there in encrypted form.

How can you use a Telegram bot for resource control?

In the injection moulding industry, for example, a Telegram bot can send an automated message to a smartphone when the level of plastic granulate required for the production of injection moulded products falls below a certain level. In this way, it is possible to react ahead of time with a reorder or additional delivery and there is no downtime due to a shortage of material.

How can I use the functionality for fault messages or alarms?

Effective fault or alarm reporting systems with smartphone connection can be configured via bot. For this purpose, fault messages that are managed, generated and stored in an SQL database, for example, are sent to the logged-in Telegram clients via the bot. The OPC Router can also offer commands to the clients so that fault message acknowledgements and comment functions can be designed. With the Telegram Plug-ins access to the SQL data, the Telegram user can also be offered queries, for example to access detailed data on fault messages.

What maintenance information can a Telegram bot send me?

If the functionality of production machines reaches certain predefined threshold values, a Telegram bot could automatically generate maintenance recommendations and send them to the respective machine operators. In this way, maintenance-related failures can be avoided and downtimes can be effectively planned in advance.

at-netcore-telegrambot's People

Contributors

amirreza-tabeshfard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

at-netcore-telegrambot's Issues

Creating architecture

  • Create Class Library: ATNetCoreTelegramBot.Common
  • Create Class Library: ATNetCoreTelegramBot.DAL
  • Create Class Library: ATNetCoreTelegramBot.Models
  • Create Class Library: ATNetCoreTelegramBot.Resource

Class Library [Models]: Changing the structure of entities in 'SchemaPerson'

  • Changing the foreign key from Person entity to Gender entity
  • Changing the foreign key from Person entity to Marital Status entity
  • Changing the foreign key from Person entity to Military Service Status entity
  • Remove the foreign key CulureID from (Gender, Marital Status, Military Service Status) entity

Update User

  • Class Library (Common): Update Class DateTimeExtensions
  • Class Library (Model): Update Class User
  • Class Library (DAL): Update Class User
  • Class Library (WFA.UI): Update Form User

Create Command

  • WFA.UI: Create FrmCommand
  • Create Class Library: ViewModels
  • Create Exceptions for Class Library Common

DAL: Create SchemaBase

  • Create City: ICityRepository
  • Create City: CityRepository
  • Create Country: ICountryRepository
  • Create Country: CountryRepository
  • Create Culture: ICultureRepository
  • Create Culture: CultureRepository
  • Create Province: IProvinceRepository
  • Create Province: ProvinceRepository
  • Create IBaseUnitOfWork
  • Create BaseUnitOfWork

New Class Library

  • Create Class Library: Models.Data
  • Update Models: Create SchemaBase
  • Update DAL: Create SchemaBase

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.