Skip to content
Snippets Groups Projects
Commit a3743b6a authored by Jonah Husson's avatar Jonah Husson
Browse files

add bindings for register/unregister

parent 62226d2e
No related branches found
No related tags found
No related merge requests found
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2021 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package bindings
// Register for notifications, accepts firebase messaging token
func (c *Client) RegisterForNotifications(token []byte) error {
return c.api.RegisterForNotifications(token)
}
// Unregister for notifications
func (c *Client) UnregisterForNotifications() error {
return c.api.UnregisterForNotifications()
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment