Skip to content
#

telegram-bot

telegram logo

Telegram is a non-profit, cloud-based instant messaging service. It offers open source clients for a multitude of operating systems and powerful APIs that allow developers to create their own clients and chat bots.

Here are 5,907 public repositories matching this topic...

sap51
sap51 commented Feb 1, 2021

Describe your environment

  • Operating system: Linux
  • Python Version: 3.8.6
  • CCXT version:1.40.99
  • Freqtrade Version: 2021.1

Describe the enhancement

Add ping support to the rest_client.py script.

I'm using the rest_client.py script to monitor my freqtrade bot using a custom shell+python script, and it looks like I cannot use the ping command to verify that

wetterkrank
wetterkrank commented Jan 30, 2021

Looks like the error message string expected by BotKicked exception isn't matching the current Telegram API response.
So the BotKicked exception is never raised.

Expected Behavior

BotKicked exception should be raised.

Current Behavior

TelegramAPIError exception is raised with the following message: "Forbidden: bot was kicked from the group chat".
However, BotKicked exce

raid-7
raid-7 commented Jul 7, 2020

In terms of Telegram bot API the maximum polling time of getUpdates is referred to as timeout. That is if there are pending updates, Telegram will return them immediately. In the other case, it will wait for timeout seconds and then answer with an empty list.

The telegram-bot Rust library has its own notion of timeouts. getUpdates' timeout [i

mtproto

Created by Telegram Messenger LLP

Released August 2013

Website
telegram.org
Wikipedia
Wikipedia