Nip28 class
Public Chat & Channel
Constructors
- Nip28()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createChannel(
String name, String about, String picture, Map< String, String> additional, String privkey) → Event -
getChannelCreation(
Event event) → Channel -
getChannelMessage(
Event event) → ChannelMessage -
getChannelMetadata(
Event event) → Channel -
getMessageHidden(
Event event) → ChannelMessageHidden -
getUserMuted(
Event event) → ChannelUserMuted -
hideChannelMessage(
String messageId, String reason, String privkey) → Event -
muteUser(
String pubkey, String reason, String privkey) → Event -
sendChannelMessage(
String channelId, String content, String privkey, {String? relay, List< ETag> ? etags, List<PTag> ? ptags}) → Event -
setChannelMetaData(
String name, String about, String picture, Map< String, String> additional, String channelId, String relayURL, String privkey) → Event