Closed zaddok closed 4 months ago
The readme says to create a channel like this:
$NotificationScheduler.create_notification_channel("my_channel_id", "My Channel Name", "My channel description")
But it looks like its changed so that an object is needed like this, is that correct?
var channel = NotificationChannel.new() channel.set_id("hello") channel.set_name("Reminders") channel.set_description("Reminders") self.notifications.create_notification_channel(channel)
Hi @zaddok. Yes, you're right; it looks like the README needs to be updated. Thanks for the heads up. Yes, you're right; it looks like the README needs to be updated.
The readme says to create a channel like this:
But it looks like its changed so that an object is needed like this, is that correct?