You cannot do that. I believe the reason may be some malicious developer might use it as a security hole to create endless replies loop.
Bot does not have userId, however it can act on behalf of a user to send message back from LIFF app.
I am trying to implement use of the "line-bot-api" java sdk to test that I can send and recieve messages from a line bot.
Scenario:
Before writing my java code I've been trying to use the pushMessage api call using Postman make sure I can do this.
I've tried using the "channel access token" from botA, and the "user ID" for my botB. But this returns a 400 Bad Request "message": "Failed to send messages"
Is it possible to send messages from one bot to another? Does a bot have a "userID" that I can use to send a message to from another bot? If so how do I get it?
You cannot do that. I believe the reason may be some malicious developer might use it as a security hole to create endless replies loop.
Bot does not have userId, however it can act on behalf of a user to send message back from LIFF app.
Similar posts
No similar posts