How can I get line groupId in python messaging api.

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.

  • 0
  • 2
  • 1523
  • twitter facebook

Line groups

  • 0

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.

  • 1
Are you sure? question.vm