Interface PublishInput

Hierarchy

  • PublishInput

Properties

Properties

channel: string

The identifier of the channel on which to publish the data.

data: any

The data to be published to the channel's listeners

broadcast?: boolean

Message will be delivered to the current eitri-app and all other eitri-apps listening on the same channel and allowing broadcast when subscribing to the channel.

in iOS devices, version 15.4 or later is required to use broadcast messages. Before this version, messages will be delivered only inside the current eitri-app)

Default

false

Generated using TypeDoc