From fb3972b7254cf22cf74349fe68cb19c79b64fe6c Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Fri, 4 Nov 2022 08:03:17 -0300 Subject: [PATCH] add new event kinds. --- nostr/event.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nostr/event.go b/nostr/event.go index 71da328..7dc627e 100644 --- a/nostr/event.go +++ b/nostr/event.go @@ -28,6 +28,13 @@ const ( KindContactList int = 3 KindEncryptedDirectMessage int = 4 KindDeletion int = 5 + KindBoost int = 6 + KindReaction int = 7 + KindChannelCreation int = 40 + KindChannelMetadata int = 41 + KindChannelMessage int = 42 + KindChannelHideMessage int = 43 + KindChannelMuteUser int = 44 ) // GetID serializes and returns the event ID as a string