Skip to main content

getDevice

amiudmodz


amiudmodz / getDevice

Function: getDevice()

getDevice(id): "web" | "unknown" | "android" | "ios" | "desktop"

Defined in: src/Utils/messages.ts:869

Returns the device predicted by message ID

Parameters​

id​

string

Returns​

"web" | "unknown" | "android" | "ios" | "desktop"