node-telegram-bot-api
node-telegram-bot-api copied to clipboard
How to get GroupID (how use switch_inline_query to get groupID)?
Question
Hello! I need to get group id from callback_query
The main idea: User add bot to some group. From bot user should have possibility to send messages to this group.
Basically i need some dependency with user and group to allow user send messages to this group.
My idea is use switch_inline_query
from bot to link some group but how i can get groupID
for this user?