I think there is no support for that in Messaging API right now. But there is an alternative way to acomplish this. You can use LIFFv2 app to get the OS of the user by using this command liff.getOS()
.
There are 3 possible values:
- iOS
- Android
- External Browser (You might consider this as PC and Web users but please take a note that if the mobile user open the LIFF url in the non IN-LINE browser. It will return as an external browser. But you can embed the LIFF url in the URI Action in the Flex message button for keeping off the user from copying the url and make the mistake)
- 0