setChannelMetaData static method
Implementation
static Event setChannelMetaData(
String name,
String about,
String picture,
Map<String, String> additional,
String channelId,
String relayURL,
String privkey) {
Map<String, dynamic> map = {
'name': name,
'about': about,
'picture': picture
};
map.addAll(additional);
return Event.from(
kind: 41,
tags: [
["e", channelId, relayURL]
],
content: jsonEncode(map),
privkey: privkey,
);
}