createChannel
API to create and update channels on supported Android devices.
createChannel(channel: AndroidChannel): Promise<string>;
Creates a new Android channel. Channels are used to collectively assign notifications to
a single responsible channel. Users can manage settings for channels, e.g. disabling sound or vibration.
Channels can be further organized into groups (see createChannelGroup
).
By providing a groupId
property, channels can be assigned to groups created with
createChannelGroup
.
The channel ID is returned once the operation has completed.
View the Channels & Groups documentation for more information.
Property | Description | Optional |
---|---|---|
channel | The |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License and code samples are licensed under the Apache 2.0 License.
All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.