I configured a new telegram trigger to test the integration. When I mention a CHATID, messages a re getting delivered with no issues. However, when I mention a GROUPID (-XXXXXX) then messages are not getting delivered. Checked all privacy settings/permissions but issue is not resolved.
Hey @RAJEEV_GUJRAL hope all is well. Welcome to the ocmmunity.
It doesn’t look like you have the right ID for the group. Can you share how you retrieved that ID?
Hey @jabbson, thanks for responding.
I got the group ID by opening the telegram web and then clicked on the specific group. URL in the browser gave me the group ID beginning with hyphen. I tried creating another bot/another group but issue remains same. When I replace Group ID with a ChatID, it works fine. It fails only when I mention the Group ID. Thanks.
Try to send a message in the group and catch it with the trigger and see if the group id is the same.
Thanks @jabbson for the suggestion.
I followed the n8n docs (screenshot below) but the method described there to get the GROUPID does not seem to work anymore.
Then I came across another video on youtube which mentioned another method. I followed that and this time I got the same GROUPID but with a prefix -100. I copied that and it worked like a charm.
Leaving this tip for others following the n8n docs to get the GROUPID, pls add -100 prefix from the ID you get from the procedures mentioned in the n8n docs.