Documentation
¶
Index ¶
- 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 map[string]any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 发送关注通知
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.