node-telegram-bot-api icon indicating copy to clipboard operation
node-telegram-bot-api copied to clipboard

How to get GroupID (how use switch_inline_query to get groupID)?

Open ihor-zinchenko opened this issue 1 year ago • 0 comments

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?

ihor-zinchenko avatar Dec 05 '23 21:12 ihor-zinchenko