Documentation
¶
Index ¶
- func SendArticleCommentNotifications(userIds []uint64, articleId uint64, commentId uint64, commentContent string, ...) error
- func SendBadgeNotification(userId uint64, badgeCode string, badgeName string, badgeIconURL string) error
- func SendCommentNotification(userId uint64, articleId uint64, commentContent string, commenterId uint64, ...) error
- func SendFollowNotification(userId uint64, followerId uint64, followerName string) error
- func SendReplyNotification(userId uint64, commentId uint64, articleId uint64, replyContent string, ...) error
- func SendSystemNotification(userId uint64, title string, content string, extra eventNotification.Extra) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendArticleCommentNotifications ¶ added in v0.2.12
func SendBadgeNotification ¶ added in v0.2.2
func SendCommentNotification ¶
func SendCommentNotification(userId uint64, articleId uint64, commentContent string, commenterId uint64, replyId uint64) error
SendCommentNotification 发送评论通知
func SendFollowNotification ¶
SendFollowNotification 发送关注通知
func SendReplyNotification ¶
func SendReplyNotification(userId uint64, commentId uint64, articleId uint64, replyContent string, replierId uint64) error
SendReplyNotification 发送回复通知
func SendSystemNotification ¶
func SendSystemNotification(userId uint64, title string, content string, extra eventNotification.Extra) error
SendSystemNotification 发送系统通知
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.