I've been using telegram_bot, and trying to get groupChat id to send notifications to group chat, but don't know which methods I have to use for it.
For getting chat id I use to message.chat.id when the bot participated in the chat but which I have to use for getting group chat id can't find/
Best Answer
In order to get the group chat id, do as follows:
Add the Telegram BOT to the group.
Get the list of updates for your BOT:
Ex:
Look for the "chat" object:
This is a sample of the response when you add your BOT into a group.
Use the "id" of the "chat" object to send your messages.
(If you created the new group with the bot and you only get
{"ok":true,"result":[]}
, remove and add the bot again to the group)Private chart only works in image
argoprojlabs/argocd-notifications:v1.1.0
or above.