Crypto-Signal icon indicating copy to clipboard operation
Crypto-Signal copied to clipboard

Dosent post on Telegram Channel

Open bottest123 opened this issue 7 years ago • 3 comments

I have added my telegram channel ID and my bot I'd in config.yml And even my bot is admin in channel why dosent it post in my channel?

Help please It shows like this

screenshot_2018-10-15-17-39-57-231

But dosent post on telegram channel

Help please

bottest123 avatar Oct 15 '18 12:10 bottest123

@bottest123

I don't know what means "channel id".

For Telegram notifications you need to create a bot and then get an api token.

My token and chat_id into config.yml looks like this:

token: 662318103:AAHOchZ3Egq2clOC88GEqnUSHxxxxxxxxx chat_id: 20739000

Best

laliux avatar Oct 30 '18 18:10 laliux

to know the chat id just invite @RawDataBot and look at the chat section. the result will be similar to this "message": { "chat": { "id": -210987654, "title": ..., "type": "group", ...

in config.yml put bot token and id chat and work

minerlab avatar Jan 18 '19 09:01 minerlab

I have the same issue. I've managed to get the token for my bot and the chat_id of my test group. I invited the bot into the group as well.

Ran the docker in a Ubuntu 19.04 VM, analysis runs fine. But somehow the bot doesn't post the update to the telegram group. Is it because I'm running it in a VM?

config.yml:

notifiers:
    telegram:
        required:
            token: 726148:AAG[REDACTED]4f-2CCc
            chat_id: -378006
        optional:
            parse_mode: html
            template: "[{{analysis.config.candle_period}} / {{analysis.config.period_count}}] {{exchange}}-{{market}}-{{indicator}}-{{indicator_number}} is {{status}}! ({{values}}){{ '\n' -}}" 

Found the chat_id via https://api.telegram.org/bot<BOT_TOKEN>/getUpdates API call:

{
  "chat": {
    "id": -378006,
    "title": "test signal bot",
    "type": "group",
    "all_members_are_administrators": true
  }
}

What did I do wrong?

aemxn avatar May 19 '19 15:05 aemxn