setChannelMetadata

expect abstract fun setChannelMetadata(channel: String, name: String? = null, description: String? = null, custom: CustomObject? = null, includeCustom: Boolean = false, type: String? = null, status: String? = null, ifMatchesEtag: String? = null): SetChannelMetadata
actual abstract fun setChannelMetadata(channel: String, name: String?, description: String?, custom: CustomObject?, includeCustom: Boolean, type: String?, status: String?, ifMatchesEtag: String?): SetChannelMetadata

Set metadata for a Channel in the database, optionally including the custom data object for each.

Parameters

channel

Channel name.

name

Name of a channel.

description

Description of a channel.

custom

Object with supported data types.

includeCustom

Include respective additional fields in the response.

ifMatchesEtag

Optional entity tag from a previously received PNChannelMetadata. The request will fail if this parameter is specified and the ETag value on the server doesn't match.

actual abstract fun setChannelMetadata(channel: String, name: String?, description: String?, custom: CustomObject?, includeCustom: Boolean, type: String?, status: String?, ifMatchesEtag: String?): SetChannelMetadata