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?
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 useswitch_inline_query
from bot to link some group but how i can getgroupID
for this user?