Skip to content

node_wip telegram error. #56

@elliotks

Description

@elliotks

Hi,

I have been trying to get the telegram integration working and unable to resolve this error:
image

I generated my telegram API from https://my.telegram.org/apps and included it in node_wip/conf.yaml
I created a telegram group for testing messages as well - here is the telegram portion of the conf.yaml

Telegram integration

telegram:

Retrieved coin will be capitalised

api_id: "XXX"
api_hash: "XXX"

Group names need to be single word or separated with underscores

groups:
kucoin_pump:
bot: Kucoin
group_name: persocompump
prefix: "Coin is: " # "The coin is: " in "The coin is DOGE"
alt_prefix: "https://trade.kucoin.com/" # Alternative prefix
special_character: "" # '$' in $DOGE
suffix_to_split: "-USDT" # "-USDT" in DOGE-USDT => DOGE

I also noticed

Telegram has limited api requests and timeouts. Be conservative with this.

default_scraper_delay: 100 # Default delay in ms. Required to prevent hitting API rate limit.

is incorrect, "default_scraper_delay" is not used anywhere else. The correct config name is "scraper_delay" - also Telegram has a 1000ms api limit. So this should be

Telegram has limited api requests and timeouts. Be conservative with this.

scraper_delay: 1000 # Default delay in ms. Required to prevent hitting API rate limit.

Would you mind testing this? I am not sure how you are not getting the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions