payload

abstract fun payload(@Nullable payload: @Nullable Map<String, Any>): CreateChannel

Optional arbitrary JSON object payload. The payload is free-form, but the default Channel class indexes the name and type properties: populating them here makes the channel filterable and sortable on name / type in getChannels. Any other payload property is stored but not queryable unless a custom class or Channel subclass declares it filterable (a subclass inherits the name / type indexes and may add its own). The built-in fields id, createdAt, updatedAt, and status are always filterable/sortable regardless of payload.