Function: getDevice()
getDevice(
id
):"web"
|"unknown"
|"android"
|"ios"
|"desktop"
Defined in: src/Utils/messages.ts:701
Returns the device predicted by message ID
Parameters
id
string
Returns
"web"
| "unknown"
| "android"
| "ios"
| "desktop"