users

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL