Documentation ¶
Index ¶
- func SendChatMessagePushNotification(ctx context.Context, data code_data.Provider, pusher push_lib.Provider, ...) error
- func SendDepositPushNotification(ctx context.Context, data code_data.Provider, pusher push_lib.Provider, ...) error
- func SendGiftCardReturnedPushNotification(ctx context.Context, data code_data.Provider, pusher push_lib.Provider, ...) error
- func SendMicroPaymentReceivedPushNotification(ctx context.Context, data code_data.Provider, pusher push_lib.Provider, ...) error
- func UpdateBadgeCount(ctx context.Context, data code_data.Provider, pusher push_lib.Provider, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendChatMessagePushNotification ¶
func SendChatMessagePushNotification( ctx context.Context, data code_data.Provider, pusher push_lib.Provider, chatTitle string, owner *common.Account, chatMessage *chatpb.ChatMessage, ) error
SendChatMessagePushNotification sends a push notification for chat messages
func SendDepositPushNotification ¶
func SendDepositPushNotification( ctx context.Context, data code_data.Provider, pusher push_lib.Provider, vault *common.Account, quarks uint64, ) error
SendDepositPushNotification sends a push notification for received deposits
func SendGiftCardReturnedPushNotification ¶
func SendGiftCardReturnedPushNotification( ctx context.Context, data code_data.Provider, pusher push_lib.Provider, giftCardVault *common.Account, ) error
SendGiftCardReturnedPushNotification sends a push notification when a gift card has expired and the balance has returned to the issuing user
func SendMicroPaymentReceivedPushNotification ¶
func SendMicroPaymentReceivedPushNotification( ctx context.Context, data code_data.Provider, pusher push_lib.Provider, intentRecord *intent.Record, ) error
SendMicroPaymentReceivedPushNotification sends a push to the destination when someone pays for content through a micro payment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.