Documentation
¶
Index ¶
- Constants
- func GetNotificationCursorList(userId uint64, pageSize int, cursor uint64, unreadOnly bool) ([]*eventNotification.Entity, uint64, bool, error)
- func SendBadgeNotification(userId uint64, badgeCode string, badgeName string, badgeIconURL string) error
- func SendCommentNotification(userId uint64, topicId uint64, commentContent string, commenterId uint64, ...) error
- func SendFollowNotification(userId uint64, followerId uint64, followerName string) error
- func SendPostReplyNotification(userId uint64, postId uint64, topicId uint64, replyContent string, ...) error
- func SendTopicPostNotifications(userIds []uint64, topicId uint64, postId uint64, commentContent string, ...) error
Constants ¶
View Source
const ( DefaultNotificationPageSize = 20 MaxNotificationPageSize = 50 )
Variables ¶
This section is empty.
Functions ¶
func GetNotificationCursorList ¶ added in v0.2.12
func SendBadgeNotification ¶ added in v0.2.49
func SendCommentNotification ¶ added in v0.2.49
func SendCommentNotification(userId uint64, topicId uint64, commentContent string, commenterId uint64, postId uint64) error
SendCommentNotification 发送评论通知
func SendFollowNotification ¶ added in v0.2.49
SendFollowNotification 发送关注通知
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.