You can get the group id from webhook. https://developers.line.biz/en/reference/messaging-api/#source-group
When the message from a group comes to your sever, you can access by event.source.group_id
in python sdk.
I tried to make a simple bot that return line group Id to tag people on the group chat, but I have no idea where is group id and how can i get the group id.
Similar posts
-
Android SDK Line login failed: Illegal parameter value of ‘state’
-
Number of Audience count created is different from number of audience count in job.
-
Error when building LineMessagingClient ( Local server running on Docker)
-
I want to get additional information of users from line. Lineからユーザーの追加情報を取得したい