Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationClient ¶
type NotificationClient struct {
// contains filtered or unexported fields
}
NotificationClient handles all notification-related operations for the Linear API. It uses the shared BaseClient for HTTP communication and manages user notifications including mentions and updates.
func NewNotificationClient ¶
func NewNotificationClient(base *core.BaseClient) *NotificationClient
NewNotificationClient creates a new notification client with the provided base client
func (*NotificationClient) GetNotifications ¶
func (nc *NotificationClient) GetNotifications(includeRead bool, limit int) ([]core.Notification, error)
GetNotifications retrieves notifications for the authenticated user Why: Notifications keep users informed about mentions, assignments, and updates. This method provides access to that activity stream.
func (*NotificationClient) MarkNotificationRead ¶
func (nc *NotificationClient) MarkNotificationRead(notificationID string) error
MarkNotificationRead marks a notification as read Why: Users need to acknowledge notifications to keep their inbox manageable. This method provides that acknowledgment capability.