The resulting structure of parseDeeplink

interface DeeplinkParts {
    action?: string;
    decodedPayload?: string | object;
    domain?: string;
    payload?: string;
    version: string;
}

Properties

action?: string

The actions name, if given

decodedPayload?: string | object

The decoded payload. As per default parseDeeplink tries to parse the content as JSON object. If this does not work the decoded string will be returned.

domain?: string

The domain, if given

payload?: string

The raw/encoded payload

version: string

The version