LINE
Follow/Unfollow events
Follow events will be sent when your account is added as a friend (or is unblocked).
The event contains a "isUnblocked" value that can contain the following values:
- true: The user has unblocked your account.
- false: The user has added your account as a friend.
Example follow event:
{
"from": {
"number": "Recipients user ID"
},
"to": {
"number": "Your user ID"
},
"event": {
"type": "Follow",
"reference": "A reference to the object or message that triggered the event",
"custom": {
"isUnblocked": "true or false"
}
},
"timeUtc": "2022-10-10T12:00:00",
"channel": "LINE"
}
Unfollow events do not contain any custom values and only indicate that the user has unfollowed your account.
Example unfollow event:
{
"from": {
"number": "Recipients user ID"
},
"to": {
"number": "Your user ID"
},
"event": {
"type": "Unfollow",
"reference": "A reference to the object or message that triggered the event"
},
"timeUtc": "2022-10-10T12:00:00",
"channel": "LINE"
}
Updated 3 months ago