package
4.15.1
Repository: https://github.com/firebase/firebase-admin-go.git
Documentation: pkg.go.dev

# Functions

IsInternal checks if the given error was due to an internal server error.
IsInvalidAPNSCredentials checks if the given error was due to invalid APNS certificate or auth key.
IsInvalidArgument checks if the given error was due to an invalid argument in the request.
IsMessageRateExceeded checks if the given error was due to the client exceeding a quota.
IsMismatchedCredential checks if the given error was due to an invalid credential or permission error.
IsQuotaExceeded checks if the given error was due to the client exceeding a quota.
IsRegistrationTokenNotRegistered checks if the given error was due to a registration token that became invalid.
IsSenderIDMismatch checks if the given error was due to an invalid credential or permission error.
IsServerUnavailable checks if the given error was due to the backend server being temporarily unavailable.
IsThirdPartyAuthError checks if the given error was due to invalid APNS certificate or auth key.
IsTooManyTopics checks if the given error was due to the client exceeding the allowed number of topics.
IsUnavailable checks if the given error was due to the backend server being temporarily unavailable.
IsUnknown checks if the given error was due to unknown error returned by the backend server.
IsUnregistered checks if the given error was due to a registration token that became invalid.
NewClient creates a new instance of the Firebase Cloud Messaging Client.

# Constants

PriorityDefault is the default notification priority.
PriorityHigh is a higher notification priority.
PriorityLow is a lower notification priority.
PriorityMax is the highest notification priority.
PriorityMin is the lowest notification priority.
VisibilityPrivate shows this notification on all lockscreens, but conceal sensitive or private information on secure lockscreens.
VisibilityPublic shows this notification in its entirety on all lockscreens.
VisibilitySecret does not reveal any part of this notification on a secure lockscreen.

# Structs

AndroidConfig contains messaging options specific to the Android platform.
AndroidFCMOptions contains additional options for features provided by the FCM Android SDK.
AndroidNotification is a notification to send to Android devices.
APNSConfig contains messaging options specific to the Apple Push Notification Service (APNS).
APNSFCMOptions contains additional options for features provided by the FCM Aps SDK.
APNSPayload is the payload that can be included in an APNS message.
Aps represents the aps dictionary that may be included in an APNSPayload.
ApsAlert is the alert payload that can be included in an Aps.
BatchResponse represents the response from the SendAll() and SendMulticast() APIs.
Client is the interface for the Firebase Cloud Messaging (FCM) service.
CriticalSound is the sound payload that can be included in an Aps.
ErrorInfo is a topic management error.
FCMOptions contains additional options to use across all platforms.
LightSettings to control notification LED.
Message to be sent via Firebase Cloud Messaging.
MulticastMessage represents a message that can be sent to multiple devices via Firebase Cloud Messaging (FCM).
Notification is the basic notification template to use across all platforms.
SendResponse represents the status of an individual message that was sent as part of a batch request.
TopicManagementResponse is the result produced by topic management operations.
WebpushConfig contains messaging options specific to the WebPush protocol.
WebpushFCMOptions contains additional options for features provided by the FCM web SDK.
WebpushNotification is a notification to send via WebPush protocol.
WebpushNotificationAction represents an action that can be performed upon receiving a WebPush notification.

# Type aliases

AndroidNotificationPriority represents the priority levels of a notification.
AndroidNotificationVisibility represents the different visibility levels of a notification.