pkg

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationAddTokenRequest

type NotificationAddTokenRequest struct {
	api.NotificationAddTokenRequest
	Mytoken universalmytoken.UniversalMytoken `json:"mytoken" xml:"mytoken" form:"mytoken"`
	MomID   mtid.MOMID                        `json:"mom_id" xml:"mom_id" form:"mom_id"`
}

NotificationAddTokenRequest is a request object for adding a mytoken to an existing notification

type NotificationRemoveTokenRequest

type NotificationRemoveTokenRequest struct {
	api.NotificationRemoveTokenRequest
	Mytoken universalmytoken.UniversalMytoken `json:"mytoken" xml:"mytoken" form:"mytoken"`
	MomID   mtid.MOMID                        `json:"mom_id" xml:"mom_id" form:"mom_id"`
}

NotificationRemoveTokenRequest is a request object for removing a mytoken from a notification

type NotificationsCreateResponse

type NotificationsCreateResponse struct {
	api.NotificationsCreateResponse
	pkg.OnlyTokenUpdateRes
}

NotificationsCreateResponse is a type holding the response to a notification creation request

type NotificationsListResponse

type NotificationsListResponse struct {
	api.NotificationsListResponse
	pkg.OnlyTokenUpdateRes
}

NotificationsListResponse is a type holding the response to a notification list request

type SubscribeNotificationRequest

type SubscribeNotificationRequest struct {
	api.SubscribeNotificationRequest
	Mytoken universalmytoken.UniversalMytoken `json:"mytoken" xml:"mytoken" form:"mytoken"`
	MomID   mtid.MOMID                        `json:"mom_id" xml:"mom_id" form:"mom_id"`
}

SubscribeNotificationRequest is type holding the request to create different notifications

Jump to

Keyboard shortcuts

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