Playground
gnomod.toml
module = "gno.land/p/g13rqvks880v0hmlfepcj0kkudq0js38d3pc5k6a/gnotif/trigger/v0" gno = "0.9" [addpkg] creator = "g13rqvks880v0hmlfepcj0kkudq0js38d3pc5k6a" height = 661471 max_deposit = "10000000ugnot"
trigger.gno
// Package trigger holds the Trigger struct that gnotif registries accept. A
// struct declared in a realm cannot be built by another realm, so it lives in
// a pure package.
package trigger
// Trigger holds one trigger's fields. Filter is comma-separated key=value
// pairs; Title, Body and Link are templates where {key} stands for the value
// of the event's attribute key.
type Trigger struct {
Event, Filter, Param, Title, Body, Link string
}