SMS Module - Telegram Bot

Post Reply
daweng
Posts: 14
Joined: 05 Apr 2018, 04:48
Name: Abusahl
Location: Indonesia

SMS Module - Telegram Bot

Post by daweng »

Hello,

I'm having trouble to send messages to telegram group (chatID with minus sign), while I'm able to send messages to my Telegram account.
Telegram Error: 400 Bad Request: chat not found. (chat_id: -13XXXXX5)
Thank you.
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: SMS Module - Telegram Bot

Post by support »

You can find setup instruction in this video https://www.rukovoditel.net/sms-modules.html
daweng
Posts: 14
Joined: 05 Apr 2018, 04:48
Name: Abusahl
Location: Indonesia

Re: SMS Module - Telegram Bot

Post by daweng »

support wrote:You can find setup instruction in this video https://www.rukovoditel.net/sms-modules.html
The problem is when bot send messages to telegram group, while send to user it's works like charm.

Thank you
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: SMS Module - Telegram Bot

Post by support »

Try next:
Create a channel in the telegram, add to it our bot as an administrator, put him all the rights. Then go for id https://api.telegram.org/bot < bot_token> / getUpdates substituting the token received earlier, and we see a picture the first id of our bot, and the second id of our channel in the section "channel post" it and we take away (id long) and we put it in a rule SMS-to send to number, now we invite all employees to our newly made channel
Let me know if it works
daweng
Posts: 14
Joined: 05 Apr 2018, 04:48
Name: Abusahl
Location: Indonesia

Re: SMS Module - Telegram Bot

Post by daweng »

Still not solved my problem Sergey

Thank You
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: SMS Module - Telegram Bot

Post by support »

Then I don't have idea. By default it's not supported at the moment but the message that I posted before was from other users who soled this issue in his way.
daweng
Posts: 14
Joined: 05 Apr 2018, 04:48
Name: Abusahl
Location: Indonesia

Re: SMS Module - Telegram Bot

Post by daweng »

support wrote:Then I don't have idea. By default it's not supported at the moment but the message that I posted before was from other users who soled this issue in his way.
Problem solved,

I accidentally adding space between phone numbers (chat_ID) in recipient list.

Thank you Sergey for amazing support!
Post Reply