NOTE:

Properties

context: string

The global context for this message. For example, something like contentScopeScripts or specialPages

featureName: string

The name of the sub-feature, such as duckPlayer or clickToLoad

method: string

The name of the handler to be executed on the native side

params: undefined | Record<string, any>

An optional payload