How to get Telegram-Channel-Data

Hi,

in make there is a telegram-module that is called:
Get the number of members in a chat

How can I get this channel-data?

I guess that I have to create a callback with the query id.
But how to find and get the query id? :thinking:

Thank you and best regards
Martin

Hi @martin23, welcome to the community :tada:

It appears this is not an option currently available in n8nā€™s Telegram node. But from checking at Telegram Bot API it seems to me you could make an HTTP POST request to https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/getChatMemberCount where:

  • chat_id is a body parameter
  • bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 is your Telegram API token

I just gave this a go on my end and it worked:

Hope this helps :slight_smile:

1 Like

Yes,
thank you very much. :pray:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.