ANALYSIS OF CONNECTION METHODS OF TELEGRAM ROBOTS WITH SERVER PART

  • Kavats E
  • Kostenko A
N/ACitations
Citations of this article
18Readers
Mendeley users who have this article in their library.

Abstract

The paper analyzes the methods of interaction of robotic applications with Telegram servers. A comparison was made between the standard polling method (Long Polling) and Webhook, both from the speed of application interaction with the end user and the complexity of the installation from the point of view of the developer. The interaction mechanism of telegrams-bot with Webhook-enabled telegram servers, which significantly improves the performance of the program as a whole, saving the user’s query execution time and increasing fault tolerance.The purpose of the study is to compare the methods of interaction between the application-work Telegrams written in Python, as well as the implementation of these methods in practice, in order to identify the complexity of writing both solutions.The Webhook method is a way to deliver real-time data to applications. Unlike traditional APIs, where you need to specify data more often to get information in real time, Webhook sends data immediately.It is proposed to consider the two most common communication options work and the Telegram server. The most common option is to periodically poll the Telegram servers for new information. All this is done through Long Polling, that is, the use opens for a short time and all updates immediately arrive bot.In the work, an alternative communication option was proposed for the application to work with Telegram servers using Webhook. During the work on changing the data exchange method from standard polling (Long Polling) to Webhook, its indisputable advantage in loaded applications, namely on the number of incoming requests over a thousand, was proved (Long Polling).

Cite

CITATION STYLE

APA

Kavats, E. A., & Kostenko, A. A. (2019). ANALYSIS OF CONNECTION METHODS OF TELEGRAM ROBOTS WITH SERVER PART. System Technologies, 3(122), 19–24. https://doi.org/10.34185/1562-9945-3-122-2019-03

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free