Question Details

Answered
Push Message

How does the syntax for push message in python work? What I mean, is, when using it, what do I pass for the 'to' argument?

0
Profile picture
Neuro Assassin

Answers

1
Profile picture
Shoya
Posted: 7 months ago

please set userId to 'to' argument. you can see your userId at the bottom of the developer console page. https://developers.line.me/console/channel/CHANNEL_ID/basic/

if you want to get bot friend userId, check webhook object in docs. https://developers.line.me/en/reference/messaging-api/#source-user

Are you sure? question.vm