func (d *Eventing) TimeStamp(timestamp time.Time) *Eventing {
	d.event.Timestamp = timestamp.Format(time.RFC3339)
	return d
}
TimeStamp schedule an event trigger at the given timestamp (in milliseconds)
package eventing
import (
	"context"
	"time"
	"github.com/spaceuptech/space-api-go/config"
	"github.com/spaceuptech/space-api-go/types"
)
type Eventing struct {
	config *config.Config
	event  *event
}
type event struct {
	Type          string            `json:"type"`       
	Delay         int64             `json:"delay"`      
	Timestamp     string            `json:"timestamp"`  
	Payload       interface{}       `json:"payload"`    
	Options       map[string]string `json:"options"`
	IsSynchronous bool              `json:"isSynchronous"`  
}
func New(eventType string, payload map[string]interface{}, config *config.Config) *Eventing {
	return &Eventing{config: config, event: &event{
		Type:    eventType,
		Payload: payload,
	}}
}
func (d *Eventing) Apply(ctx context.Context) (*types.Response, error) {
	return d.config.Transport.TriggerEvent(ctx, &types.Meta{Project: d.config.Project, Token: d.config.Token}, d.event)
}
func (d *Eventing) Delay(delay int64) *Eventing {
	d.event.Delay = delay
	return d
}