tkgauri opened this issue 5 years ago · 1 comments
https://developers.line.biz/en/news/2020/04/14/messaging-api-update-april-2020/
This code would work correctly. No modification needed.
response = client.get_profile(event['source']['userId']) profile = JSON.parse(response.read_body) language = profile['language']